How to get access token for multi resource

WMio Connectors 121 Reputation points

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?

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,901 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. soumi-MSFT 11,651 Reputation points Microsoft Employee

    @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.