About AzureAD B2C 's custom policy

Zhang, Jiawang/张 家旺 1 Reputation point
2022-04-15T01:04:06+00:00

I want use the custom policy to realize the function of password reset.

I refer to the relevant documents and have achieved the following results.

193248-image.png

193249-image.png

193282-image.png

秘密質問 and 秘密質問の回答 in Figure 2 is the custom attribute of B2C, but now it is a fixed value written in the relevant XML file.

I want to obtain the 秘密質問 and 秘密質問の回答 attributes of B2C users through the username of the Figure 1, and enter the Figure 3 after 秘密質問の回答 verified.

How should I do?

A and B are defined in C as D and E,
secretQuestion is defined in B2C as 秘密質問.
secretAnwser is defined in B2C as 秘密質問の回答.

I need help and attach relevant documents.
193291-trustframeworklocalization.xml193292-trustframeworkextensions.xml193293-trustframeworkbase.xml193218-b2c-1a-username-trustframeworkextensions.xml193229-b2c-1a-username-securityquestions-passwordreset.xml

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