Various permissions

Jacek Rogowski 20 Reputation points
2025-01-23T18:43:54.54+00:00

In Azure on my account 'OdczytPocztyGHG->Permissions' there are two tabs with admin consent and user consent. All permissions are delegated. Accounts only in this organizational directory (single tenant)

In the Admin Consent tab there are permissions: email, EWS.AccessAsUser.All, IMAP.AccessAsUser.All, offline_access, openid and profile.

In the User Consent tab there are permissions: Mail.Read, User.Read, IMAP.AccessAsUser.All and offline_access.

The token includes all permissions: email, EWS.AccessAsUser.All, IMAP.AccessAsUser.All, Mail.Read, openid, profile and User.Read.

The questions are:

  1. Why is there no in token 'offline_access permission' if it appears in two tabs.
  2. Is this a possible reason for the inability to log in to the email account?

The token is obtained by entering the code on the page https://login.microsoftonline.com/common/oauth2/deviceauth and is generated after logging in to the account.

Tkoen:

aud: 00000003-0000-0000-c000-000000000000

scp: email EWS.AccessAsUser.All IMAP.AccessAsUser.All Mail.Read openid profile User.Read

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,935 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.