The high-security Oauth2 protocol provides state-of-the-art access-control to the Microsoft 365 mailboxes.
You first need to create and register an Azure Authentication application that will be used by to authenticate against Microsoft AAD / Entra ID identity platforms.
That authentication application will control the access to the IMAP email inbox processing.

1. Sign in to the Azure portal and search “App registrations”

2. Click “New registration” in “App registrations” as shown below mobile print on Intranet - Azure configuration

3. Enter a name such as “Celiveo Mobile Extension Intranet” for application and select “Accounts in this organization directory only (tenant Name_ only – Single tenant)”.
“Redirect URI” is required to consent to a corporate email account to authorize the authentication application.
Select “Web” and enter “” as shown below and click Register.

4. Select “Authentication” from the left menu and scroll down.
Select “Yes” for “Enable the following mobile and desktop flows:” in ”Allow public client flows”. Then click “Save” button.

5. Select “API permissions” from the left menu and click “Add a permission”. Intranet mobile print for Microsoft 365 - Step 5

6. Select “Microsoft Graph” in “Request API permissions”. Intranet mobile print for Microsoft 365 - Step 6

7. Select “Delegated Permissions” and type “Imap” in “Select permissions”.

Expand “IMAP”, select “IMAP.AccessAsUser.All” in permission and click “Add permissions” Intranet mobile print for Microsoft 365 - Step 7

8. There should be two graph api permissions as shown below. Intranet mobile print for Microsoft 365 - Step 8

9. Click Grant admin consent for… for all two permissions as shown below Intranet mobile print for Microsoft 365 - Step 9

Congratulation, the Azure Oauth2 authentication for IMAP mailbox access is now ready.

Last modified: 14 June 2024


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment