Azure B2C custom login page

Tony Yip 50 Reputation points
2025-01-15T21:54:11.9+00:00

We used a custom HTML for the sign page and just inject the B2C form within the <api> tag. iin the sign in page, we have login and reset password. we would like to add a link there to update MFA phone number, we have created a custom policy to allow edit the MFA phone number but we could not find a way to add a custom link "update MFA phone. number" next to the forget password link there. The link should trigger the new edit MFA phone number policy.

Can you provide some guideline on how to achieve it?

Thanks

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Bandela Siri Chandana 3,055 Reputation points Microsoft External Staff Moderator
    2025-01-20T05:45:58.8133333+00:00

    Hi @Tony Yip

    Thank you for posting your query on Microsoft Q&A.

    I understand that you are trying to add a link to update MFA phone number by adding a custom link "update MFA phone number" next to the forget password link. The link should trigger the new edit MFA phone number policy.

    On this page, users can verify their phone numbers (by using text or voice) during sign-up or sign-in.

    Follow the code document to "Update MFA Phone Number": https://github.com/azure-ad-b2c/html-templates/blob/main/templates/AzureBlue/multifactor-1.0.0.html

    Follow the document for sample templates for UI customization: https://learn.microsoft.com/en-us/azure/active-directory-b2c/customize-ui-with-html?pivots=b2c-custom-policy#sample-templates

    Hope this helps. Do let us know if you have any further queries

    If this answers your query, do click `Accept Answer` and `Yes`.

    Thanks,

    B. Siri Chandana

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.