Howto16r1:Configure OAuth2 E-Mail: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
== Microsoft 365 ==
== Microsoft 365 ==


1
Log in to Microsoft Azure Portal (portal.azure.com) and add a new app registration to create client credentials.
[[File:AzureAddAppRegistration.png|none|thumb|600x600px|/AzureAddAppRegistration.png|/AzureAddAppRegistration.png]]
[[File:AzureAddAppRegistration.png|none|thumb|600x600px|/AzureAddAppRegistration.png|/AzureAddAppRegistration.png]]
2
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.
[[File:AzureRegisterAnApplication.png|none|thumb|600x600px|/AzureRegisterAnApplication.png|/AzureRegisterAnApplication.png]]
[[File:AzureRegisterAnApplication.png|none|thumb|600x600px|/AzureRegisterAnApplication.png|/AzureRegisterAnApplication.png]]
3
App registration is complete. Client ID and tenant needs to be configured at the PBX and every app that will be sending e-mails.
[[File:AzureApp.png|none|thumb|600x600px|/AzureApp.png|/AzureApp.png]]
[[File:AzureApp.png|none|thumb|600x600px|/AzureApp.png|/AzureApp.png]]
4
Create a client secret.
[[File:AzureAddClientSecret.png|none|thumb|600x600px|/AzureAddClientSecret.png]]
[[File:AzureAddClientSecret.png|none|thumb|600x600px|/AzureAddClientSecret.png|/AzureAddClientSecret.png]]
5
Copy the client secret. It also needs to be configured at the PBX and every app that will be sending e-mails.
[[File:AzureCopyClientSecret.png|none|thumb|600x600px|/AzureCopyClientSecret.png]]
[[File:AzureCopyClientSecret.png|none|thumb|600x600px|/AzureCopyClientSecret.png|/AzureCopyClientSecret.png]]
6
6
[[File:AzureExchangeApplicationPermission.png|none|thumb|600x600px|/AzureExchangeApplicationPermission.png]]
[[File:AzureExchangeApplicationPermission.png|none|thumb|600x600px|/AzureExchangeApplicationPermission.png|/AzureExchangeApplicationPermission.png]]
7
7
[[File:AzureAddApiPermissionMyOrganization.png|none|thumb|600x600px|/AzureAddApiPermissionMyOrganization.png]]
[[File:AzureAddApiPermissionMyOrganization.png|none|thumb|600x600px|/AzureAddApiPermissionMyOrganization.png|/AzureAddApiPermissionMyOrganization.png]]
8
8
[[File:AzureAddApiPermissionExchange.png|none|thumb|600x600px|/AzureAddApiPermissionExchange.png]]
[[File:AzureAddApiPermissionExchange.png|none|thumb|600x600px|/AzureAddApiPermissionExchange.png|/AzureAddApiPermissionExchange.png]]
9
9
[[File:AzureAddApiExchangeApplication.png|none|thumb|600x600px|/AzureAddApiExchangeApplication.png]]
[[File:AzureAddApiExchangeApplication.png|none|thumb|600x600px|/AzureAddApiExchangeApplication.png|/AzureAddApiExchangeApplication.png]]
10
10
[[File:AzureAddApiSendMailAsUser.png|none|thumb|600x600px|/AzureAddApiSendMailAsUser.png]]
[[File:AzureAddApiSendMailAsUser.png|none|thumb|600x600px|/AzureAddApiSendMailAsUser.png|/AzureAddApiSendMailAsUser.png]]
11
11
[[File:AzureGrantApiPermissions.png|none|thumb|600x600px|/AzureGrantApiPermissions.png]]
[[File:AzureGrantApiPermissions.png|none|thumb|600x600px|/AzureGrantApiPermissions.png|/AzureGrantApiPermissions.png]]
12
12
[[File:AzureApiPermissionsGranted.png|none|thumb|600x600px|/AzureApiPermissionsGranted.png]]
[[File:AzureApiPermissionsGranted.png|none|thumb|600x600px|/AzureApiPermissionsGranted.png|/AzureApiPermissionsGranted.png]]
13
13
[[File:AzureRedirectUris.png|none|thumb|600x600px|/AzureRedirectUris.png]]
[[File:AzureRedirectUris.png|none|thumb|600x600px|/AzureRedirectUris.png|/AzureRedirectUris.png]]
14
14
[[File:AzureAllowPublicClientFlows.png|none|thumb|600x600px|/AzureAllowPublicClientFlows.png]]
[[File:AzureAllowPublicClientFlows.png|none|thumb|600x600px|/AzureAllowPublicClientFlows.png|/AzureAllowPublicClientFlows.png]]
15
15
[[File:MS365AdminCenter.png|none|thumb|600x600px|/MS365AdminCenter.png]]
[[File:MS365AdminCenter.png|none|thumb|600x600px|/MS365AdminCenter.png|/MS365AdminCenter.png]]
16
16
[[File:MS365UserLicenses.png|none|thumb|600x600px|/MS365UserLicenses.png]]
[[File:MS365UserLicenses.png|none|thumb|600x600px|/MS365UserLicenses.png|/MS365UserLicenses.png]]
17
17
[[File:MS365ActiveUsers.png|none|thumb|600x600px|/MS365ActiveUsers.png]]
[[File:MS365ActiveUsers.png|none|thumb|600x600px|/MS365ActiveUsers.png|/MS365ActiveUsers.png]]
18
18
[[File:MS365UserEMail.png|none|thumb|600x600px|/MS365UserEMail.png]]
[[File:MS365UserEMail.png|none|thumb|600x600px|/MS365UserEMail.png|/MS365UserEMail.png]]
19
19
 
[[File:MS365AuthenticatedSMTP.png|none|thumb|600x600px]]
20
20
 
[[File:ExchangeAdminCenter.png|none|thumb|600x600px]]
21
21
 
[[File:ExchangeRemoveDeavtivatedOAuth2.png|none|thumb|600x600px]]
22
22


23
23

Revision as of 22:05, 1 October 2025

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