When to use custom xml policy in B2C?

ScottM 331 Reputation points
2020-07-22T21:38:03.467+00:00

The documentation says "In Azure Active Directory B2C, custom policies are designed primarily to address complex scenarios. For most scenarios, we recommend that you use built-in user flows." What scenarios should custom policy be used with?

If I want to create a federated trust (SAML2P) for an ADFS IDP, is custom XML policy required?

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,765 questions
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,506 Reputation points
    2020-07-26T15:14:59.157+00:00

    @ScottM-7356

    Yes, in order to federate any SAML based IDP with Azure AD B2C, you need to use Custom Policy. As of now, for built-in user flows you can add only custom OpenID Connect IDPs not SAML IDPs.

    Additionally, you can federate ADFS 2016 and later as OpenID Connect IDP with as well with B2C, in that case you can use built-in user flow.

    To federate ADFS as SAML IDP, you can refer to: https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-adfs2016-custom?tabs=app-reg-ga


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

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful