How can we customize the error message in sign-in page?

Manuji Sebastian 0 Reputation points
2024-09-11T23:11:13.4266667+00:00

In the sign-in page if we didn't provide the email address and click next, following error message is coming - "Enter a valid email address or phone number". How can we customize this message from custom branding section?

For example, in the Woodgrove Demo site https://woodgrovedemo.com/, error message is coming as "Enter a valid email address". From where is this message changed?

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

2 answers

Sort by: Most helpful
  1. Navya 19,795 Reputation points Microsoft External Staff Moderator
    2024-09-17T02:10:33.5566667+00:00

    Hi @Manuji Sebastian

    Thank you for posting this in Microsoft Q&A.

    I understand that you want to customize the error message in sign-in page.

    To customize the error message in sign-in page you can use Custom CSS option https://learn.microsoft.com/en-us/entra/fundamentals/reference-company-branding-css-template

    Could you confirm whether you are attempting to customize the error message for External tenants or B2C tenants? If possible, please share the link you have been following so that I can assist you more effectively.

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

    Thanks,

    Navya.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


  2. Manuji Sebastian 0 Reputation points
    2024-11-27T19:52:34.43+00:00

    Woodgrove Demo site is having the message as "Enter a valid email address" because it is using user flow with email only login. I was getting the message "Enter a valid email address or phone number" because I had disabled the user flow. When I enabled it back, the message is changed to "Enter a valid email address". However it looks like the message will be either of these two. I still couldn't find an option to provide custom message as we wish.

    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.