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

buyani.mhlongo 20 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

Azure Active Directory External Identities
{count} votes

1 answer

Sort by: Most helpful
  1. Alfredo Revilla (MSFT) 18,766 Reputation points Microsoft Employee
    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