You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Black-Dragon-Spirit When using an application token you are authenticating to Azure, NOT the mailbox (or you could read any of them in a corporate 365 environment). The error is correct, but a bit misleading. You have to use the Enterprise application and use a service principle to authorise delegate access to the mailbox(es) as if you would granting Bob access to Alice's mailbox when Alice goes on vacation. https://outlook.office365.com/.default is the correct scope to use.
When using an application token (without user) it's not possible to connect (authenticate) to the server.
Tried dividend scopes for the token:
https://graph.microsoft.com/.default
https://outlook.office.com/.default
https://outlook.office365.com/.default
All the permissions are set.
The text was updated successfully, but these errors were encountered: