How to modify Email Verification expiry period in Azure B2C Custom Policies to 20 minutes

buyani.mhlongo 30 Reputation points
2023-05-09T13:21:21.1266667+00:00

How to modify Email Verification expiry period in Azure B2C Custom Policies to 20 minutes

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,775 questions
{count} vote

1 answer

Sort by: Most helpful
  1. 2023-05-12T15:23:20.9466667+00:00

    Hello @buyani.mhlongo , in order to set a expiration for the OTP sent during email verification you need to Define a one-time password technical profile in an Azure AD B2C custom policy and set the expiration value in the CodeExpirationInSeconds metadata item. You will also need to implement a custom email provider like SendGrid or MailJet or any other that supports REST.

    Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.

    0 comments No comments