Api management

Anonymous
2023-08-24T14:24:32.44+00:00

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
    2023-08-25T02:34:26.86+00:00

    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
    2023-08-25T12:19:29.73+00:00

    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
    2023-08-30T08:26:16.0433333+00:00

    this screen is appearing twice for each access tokens.

    0 comments No comments