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

Veli-Jussi Raitila 446 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 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,001 questions
{count} votes

Accepted answer
  1. Kancharla Saiteja 75 Reputation points Microsoft Vendor
    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 Answers by the question author, which helps users to know the answer solved the author's problem.