Is it possible to add application claim to azure b2c user flow programmatically

Dmitry Novik 76 Reputation points

We are using Microsoft Graph API to automate our B2C tenant, which includes the deployment of the user flows and API connectors, and adding an API connector to a user flow aka

However, the last step of adding an API connector to user flow using the Graph API does NOT add an application claim to the user flow which still needs to be done manually using the portal UI. If the application claim is not added to a user flow, the API connector claim is ignored when the ID token is issued.

I wonder if adding application claim to the user flow could be somehow automated?

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

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,216 Reputation points

    Hi @Dmitry Novik • Thank you for reaching out.

    Unfortunately, as of now, it is not possible to programmatically add Application Claims to B2C user flows and has to be done manually.

    I would suggest you post this idea at the Azure Feedback Portal, which is monitored by the product team for feature enhancements.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.