All error messages not translatable even with a custom policy in Azure AD B2C?

Veli-Jussi Raitila 451 Reputation points
2025-01-22T15:32:45.92+00:00

I used this sample as a baseline to implement a phone sign-up/sign-in custom policy. The sample uses the Microsoft Entra ID multifactor authentication technical profile documented here to implement the sign-in part.

Localized error messages for said MFA technical profile are documented here. In order to authenticate, the user is sent a verification code during sign-in using SMS. However, this verification session/code can expire, in which case the user is presented with an error message which seems to be hard-coded in English. The documentation does mention e.g. the UserMessageIfWrongCodeEntered identifier for the error when the wrong code is entered. However, the there is no identifier for the expired session. What gives?

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

Answer accepted by question author
  1. Anonymous
    2025-01-27T04:44:58.29+00:00

    Hi @Veli-Jussi Raitila

    Greetings of the day,

    Based on the error message provided, we have found the error is from MFA services which are automated and cannot be translated. And unfortunately, there’s no out-of-box solution to modify these messages currently. This is the reason why you cannot find these messages in Localization IEF file. We are really sorry for the inconvenience. I would suggest you provide your ideas and feedback in the following link.

    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".

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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