How to translate help texts and error messages in Azure AD B2C phone sign-up/sign-in?

Veli-Jussi Raitila 381 Reputation points
2024-09-20T12:01:26.48+00:00

I have trouble using the localization feature for Azure AD B2C as some texts seem not to be translatable.

There's this weird "pledge" in the documentation here https://video2.skills-academy.com/en-us/azure/active-directory-b2c/language-customization?pivots=b2c-user-flow#up-to-date-translations, which promises up-to-date translations from Microsoft. However, this is obviously not true. But more importantly, there are places where even providing one's own translations - at least for built-in flows - is not possible.

STEPS TO REPRODUCE

  1. Configure a built-in phone sign-in/sign-up flow for local accounts (SMS only, no e-mail recovery)
  2. Go to the user sign-up page (sign-in page works as expected)
  3. Type some letters in the phone number input field and see "The value entered needs to be a phone number." error message in English
  4. Attempt to change the error message

EXPECTED RESULTS

I am able to change/translate the error message.

ACTUAL RESULTS

No apparent ability to translate the error message. The default localized string

{
  "ElementType": "Predicate",
  "ElementId": "internationalOrNationalPhoneNumber",
  "StringId": "HelpText",
  "Override": true,
  "Value": "The value entered needs to be a phone number."
}

used in local account sign-up and unified sign-up/sign-in does not seem to apply for phone sign-in/sign-up pages.

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.
2,861 questions
{count} votes

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.