Office 365 Exchange Online Exchange.Manage scope cannot add to Graph API scopes in OAuth Link

Jay 40 Reputation points

In the OAuth link using authorization code flow, unable to pass any permissions from Office 365 Exchange Online API or for that matter any other permission that doesn't belong to Microsoft Graph API in the scopes parameter of the OAuth link.

For example, this is the OAuth link :-


It throws the following error


Microsoft Exchange Online
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
3,868 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 85,481 Reputation points MVP

    Exchange.Manage is a scope for the Exchange Online API (with resource ID of 00000002-0000-0ff1-ce00-000000000000,, not the Graph API (00000003-0000-0000-c000-000000000000). So that's the expected behavior.

    To resolve the error, update your resource value. Do note that you cannot use a single request to obtain access tokens for multiple resources, one request per resource will do.