Howto16r1:Configure OAuth2 E-Mail

From innovaphone wiki
Revision as of 22:05, 1 October 2025 by Tmo (talk | contribs)
Jump to navigation Jump to search
FIXME: This product is in the beta phase and is not yet finished

innovaphone PBX and apps can be configured to send E-Mails for various subjects and purposes. Major E-Mail providers intent to discontinue the username/password authentication schemes in favour of OAuth2. PBX and Apps version 16r1 does support OAuth2 authentication for SMTP. Here is a step by step guide how to set up OAuth2 support in Microsoft 365 through the Azure Portal.

Microsoft 365

Log in to Microsoft Azure Portal (portal.azure.com) and add a new app registration to create client credentials.

/AzureAddAppRegistration.png

Register the application and maybe already fill in the redirect URI for Web based application type to path OAUTH2-CLIENT/auth.htm at the PBX.

/AzureRegisterAnApplication.png

App registration is complete. Client ID and tenant needs to be configured at the PBX and every app that will be sending e-mails.

/AzureApp.png

Create a client secret.

/AzureAddClientSecret.png

Copy the client secret. It also needs to be configured at the PBX and every app that will be sending e-mails.

/AzureCopyClientSecret.png

6

/AzureExchangeApplicationPermission.png

7

/AzureAddApiPermissionMyOrganization.png

8

/AzureAddApiPermissionExchange.png

9

/AzureAddApiExchangeApplication.png

10

/AzureAddApiSendMailAsUser.png

11

/AzureGrantApiPermissions.png

12

/AzureApiPermissionsGranted.png

13

/AzureRedirectUris.png

14

/AzureAllowPublicClientFlows.png

15

/MS365AdminCenter.png

16

/MS365UserLicenses.png

17

/MS365ActiveUsers.png

18

/MS365UserEMail.png

19

20

21

22

23