Api management


we are using azure for authenticating our flutter app, once the authentication is successful the access token will be retrieved from the AAD,

since we are using Microsoft powerbi and graph services both the service is having different scopes and different access tokens, IS it possible to get a single access token for enabling both the services so that the authentication flow will happen only once.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,493 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. CarlZhao-MSFT 36,651 Reputation points

    Hi @Vishnu A

    No, a single token cannot be used to access different services, because access tokens are issued based on API audiences, one token cannot have multiple API audiences, you need to obtain separate access tokens for different types of APIs.

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    0 comments No comments

  2. Anonymous

    for both the scopes its happening the authentication twice in the application also showing the following screen shot is showing after the success login

  3. Anonymous

    this screen is appearing twice for each access tokens.

    0 comments No comments