Various permissions
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:
- Why is there no in token 'offline_access permission' if it appears in two tabs.
- 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