How to get access token for multi resource

WMio Connectors 121 Reputation points
2020-04-06T06:23:10.17+00:00

I need to use a multi-resource scope. For example Microsoft graph and SharePoint. It is possible to get access token for multi-resource with single authentication request?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,443 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. soumi-MSFT 11,716 Reputation points Microsoft Employee
    2020-04-06T07:03:56.133+00:00

    @WMio Connectors , You cannot use a muti-resource scope in your v2.0 request, as that request would error out. You would have to make separate calls to fetch access tokens for each of the resources. There is no way to fetch tokens for both in a single call.

    Hope this helps.

    Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as Answer; if the above response helped in answering your query.