How to call Graph API use tokens generated via B2C

Tinh Nguyen 21 Reputation points


I using Azure AD B2C to authenticate.
Can I get bearer tokens generated via B2C to authenticate with the Graph API?
if not help me with a solution, please.

Thanks for your supports!

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,707 questions
0 comments No comments
{count} votes

Accepted answer
  1. Saurabh Sharma 23,771 Reputation points Microsoft Employee

    Hi @Tinh Nguyen ,
    Unfortunately, it is not possible to call the graph API using Azure AD B2C token as graph api does not accept B2C tokens. Please refer to this Github issue.
    If you want use Graph to manage resources in Azure AD B2C then you can go through the documentation over here - Manage Azure AD B2C with Microsoft Graph
    Supported Graph API operations are -

    • Users
    • Identity Providers
    • User Flows
    • Custom policies and custom keys
      Please refer to the documentation for more information.



    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

0 additional answers

Sort by: Most helpful