Not able to change the error message in Azure b2c custom policy.

Urmila Purohit 60 Reputation points
2025-05-06T10:57:12.9466667+00:00

Hii team,
I have created azure b2c custom policy. I want to change the error message but not able to change it as the changes are not reflecting. we are using the the custom html pages. I am able to change the "Enter the verification code from your authenticator app." part but not able to change the error message. is there any way to change the error message? please let me know.
User's image

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.
3,177 questions
0 comments No comments
{count} votes

Accepted answer
  1. Kancharla Saiteja 4,195 Reputation points Microsoft External Staff Moderator
    2025-05-06T16:41:29.91+00:00

    Hi @Urmila Purohit,

    Based on your query, here is my understanding: you would like to modify the error messages.

    Based on the description, I understand that you would like to change error_requiredFieldMissing has to be modified. This error comes under sign up and self-asserted interface elements. In order to accomplish the requirement, you need to go through this document: Sign-up and self-asserted pages user interface elements.

    error_requiredFieldMissing A required field is missing. Please fill out all required fields and try again.
    error_requiredFieldMissing A required field is missing. Please fill out all required fields and try again.

    Please use the following example available in document in order to modify the error messages: Sign-up and self-asserted pages example.

    I hope this information is helpful. Please feel free to reach out if you have any further questions.

    If the answer is helpful, please click "Accept Answer" and kindly "upvote it". If you have extra questions about this answer, please click "Comment".

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.