AD B2C Localization of Forced Password Reset form

Sid Mohiddin 31 Reputation points

Using sample,

I am trying to localise "Your password has expired, please change to a new password." In the sample it is being refered to like so:-

<InputClaim ClaimTypeReferenceId="userMsg" DefaultValue="Your password has expired, please change to a new password." />

I have a Localization file where I have been able to translate the Verify Code Form, but can't get a handle to update localization on the force Password reset form.

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

Accepted answer
  1. James Hamil 23,136 Reputation points Microsoft Employee

    Hi @Sid Mohiddin , try using GetLocalizedStringsTransformation instead.

    <Localization Enabled="true">  
      <SupportedLanguages DefaultLanguage="en" MergeBehavior="Append">  
      <LocalizedResources Id="api.localaccountsignup.en">  
          <LocalizedString ElementType="GetLocalizedStringsTransformationClaimType" StringId="email_subject">Contoso account email verification code</LocalizedString>  
          <LocalizedString ElementType="GetLocalizedStringsTransformationClaimType" StringId="email_message">Thanks for verifying your account!</LocalizedString>  
          <LocalizedString ElementType="GetLocalizedStringsTransformationClaimType" StringId="email_code">Your code is</LocalizedString>  
          <LocalizedString ElementType="GetLocalizedStringsTransformationClaimType" StringId="email_signature">Sincerely</LocalizedString>  
       <LocalizedResources Id="">  
          <LocalizedString ElementType="GetLocalizedStringsTransformationClaimType" StringId="email_subject">Código de verificación del correo electrónico de la cuenta de Contoso</LocalizedString>  
          <LocalizedString ElementType="GetLocalizedStringsTransformationClaimType" StringId="email_message">Gracias por comprobar la cuenta de </LocalizedString>  
          <LocalizedString ElementType="GetLocalizedStringsTransformationClaimType" StringId="email_code">Su código es</LocalizedString>  
          <LocalizedString ElementType="GetLocalizedStringsTransformationClaimType" StringId="email_signature">Atentamente</LocalizedString>  
    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sid Mohiddin 31 Reputation points

    Thank you for the solution. Worked well.

    2 people found this answer helpful.
    0 comments No comments