6.5.1.9.2.4. IMAP Office365 configure OAuth2 using own app registrationWhen using Office 365 you can use the configured ChronoScan app registration or use an app registration in our own Entra ID tenant.
To configure a new Entra ID app registration go to AZURE Entra ID configuration - App Registration and register new application
![]() Set an app name, Accounts in this organization and configure the redirect url, this is the url the desktop interface will be waiting for the response when creating new credentials
![]() Now the application is created, you can get the Tenant ID and Client ID
![]() Now it is necessary to create a client secret
![]() Once the secret is created it will show the value, copy the value because this will be the only time it will show the value
![]() Finally it is necessary to give the permissions for the application
![]() The necessary permissions are
- IMAP.AccessAsUser.All
- email
- offline_acccess
- openid
- profile
![]() ![]() ![]() ![]() The application is already created, you can go to the desktop interface and obtain credentials for that IMAP configuration
![]() ![]() ![]() ![]() ![]() ![]() |