How to call REST API only during Signup inside Azure AD B2C Custom Policy( Social and Local Accounts)

Roshan Tolwani 26 Reputation points
2022-03-10T15:01:03.85+00:00

Hi All,

We want to call Rest API inside Azure B2C custom policies(SignUpandSignIn) during Local Account or Social Account SingUp only and skip during SignIn.
Could you please let me which claims can I use in Pre-Condition in Orchestration Step to achieve the same?

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,652 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,569 questions
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 21,851 Reputation points Microsoft Employee
    2022-03-28T22:15:39.1+00:00

    Hi @Roshan Tolwani , I wouldn't recommend storing the user attributes in a database at this step. I would wait until the users are created, and then parse the data you need. It helps keep things simple. For getting a user/user attributes however I recommend using the Graph API. And then using input claims for your fields. Please let me know if you have any questions and I can help you further.

    If this answer helped you please mark it as "Verified" so other users can reference it.

    Thank you,
    James

    0 comments No comments