Forum Discussion

astha_rai04's avatar
astha_rai04
Copper Contributor
Oct 18, 2021

User flows in Azure AD

I am trying to use a self-service sign-up user flow in Azure AD to use custom attributes. I have configured the identity providers, custom attributes, and application in the user flow:

 

 

Yet, when I try to sign up as a new user to the selected application, I don't get any sign-up form being displayed wherein I can fill in values of my custom attributes and add users with external details. Can you help me if I am missing anything?

1 Reply

  • In Azure AD B2C, defining custom attributes within the tenant does not automatically surface them in the self-service sign-up experience. To ensure these attributes are available to end users, the corresponding user flow must be explicitly configured to collect them.

     

    Configuration Checklist for Custom Attributes in User Flows

    • Create the custom attribute
      • Custom attributes are defined in the Azure AD B2C extensions application.
    • Add the attribute to the user flow
      • Navigate to the relevant Sign-up and sign-in user flow.
      • Under User attributes, select the custom attribute(s) to be collected.
      • Confirm that each attribute is marked as Collect attribute rather than only Return claim.
    • Verify application configuration
      • Ensure that the application is correctly linked to the user flow.
      • The sign-up form will only display attributes if the application is invoking the correct policy/user flow endpoint.
    • Test with a new account
      • If an account has already been registered with the same email, the flow may bypass attribute collection. Use a fresh account to validate the configuration.

    https://learn.microsoft.com/en-us/azure/active-directory-b2c/user-flow-custom-attributes?pivots=b2c-user-flow