How to create a user access token to access API management service?

Gaurav agarwal 1 Reputation point
2022-07-26T13:58:53.117+00:00

I have created my own API management custom developer portal in React.
I have also integrated Azure AD B2C.
So once user log in using his/her Azure AD credential via React app on UI the token which is generated I need to use the same token to access the Azure API management services listed here: https://learn.microsoft.com/en-us/rest/api/apimanagement/

But it show that it have less permission to access the same. Is their something I'm missing to add the scope for?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,782 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,714 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,662 questions
{count} votes

1 answer

Sort by: Most helpful
  1. 2022-10-07T06:55:44.447+00:00

    Hello @Gaurav agarwal and thanks for reaching out. To access API management service, you need to obtain an access token for Azure Resource Manager REST API trough a separate call. Also, your user needs to be assigned RBAC roles with enough permissions.

    Let us know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.

    0 comments No comments