Understanding custom policies
Custom policies in Azure AD B2C are basically configuration files that can be created to define the Azure AD tenant user experience. In the previous chapter, we covered user flows in Azure AD B2C. They are predefined and are offered as templates that you can configure to cover the most common identity scenarios. However, in some cases, these user flows are not sufficient, and you need to create your own user experiences. In these cases, you can build custom policies. These policies can be configured by developers and then uploaded to the Azure AD B2C tenant. Scenarios in which you need to create custom policies can be when you need to collect user input and store it in a separate database, such as a CRM system, or a custom profile database. Or, in cases when you need to use a custom multi-factor authentication (MFA) product, you can also integrate this into a custom policy.
Custom policies are defined by creating a set of XML configuration files that...