Azure AD B2C Custom Policy: Key of "Code has already been verified. Please request a new code."?

Christoph Huber 126 Reputation points
2022-10-11T06:56:16.333+00:00

We use AD B2C Custom Policies and translate every UI message to other languages. Unfortunately the key for "Code has already been verified. Please request a new code." is not documented. It appears on the password reset screen, when entering an old one-time-password. Can anyone help? And is there a generic way to find out such keys?

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
0 comments No comments
{count} votes

Accepted answer
  1. Shweta Mathur 30,296 Reputation points Microsoft Employee Moderator
    2022-10-11T10:59:05.71+00:00

    Hi @Christoph Huber ,

    Thanks for reaching out.

    As mentioned, the key for this error message is not present. As a workaround you can configure the following metadata which can be used to display the error messages upon code verification failure if user provided an invalid code and ask user to provide correct date.

    UserMessageIfVerificationFailedRetryAllowed

    For this particular key, you can you post this idea at the Azure Feedback Portal, which is monitored by the product team for feature enhancements.

    Hope this will help.

    Thanks,
    Shweta

    ----------------------------------

    Please remember to "Accept Answer" if answer helped you.

    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.