How to customize aadb2c forget password email that is sent to the user

Amaaz Arshad 115 Reputation points
2025-04-23T09:36:24.5466667+00:00

In my azure web app, I am using aadb2c authentication. When I click on forget password and then enter my email to receive verification code email, I want to customize/edit this email. How can I do this?

The default verification email is shown below. I have to customize this.Bildschirmfoto 2025-04-15 um 11.11.44.png

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,781 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,637 questions
{count} votes

Accepted answer
  1. SrideviM 3,735 Reputation points Microsoft External Staff Moderator
    2025-04-25T06:31:58.1033333+00:00

    Hello Amaaz Arshad,

    I understand you're trying to customize the "Forgot Password" email in your Azure AD B2C setup.

    In Azure AD B2C, the default verification email sent during password reset cannot be customized if you're using built-in user flows. The email content, subject, and layout are managed by the system and can’t be edited.

    If you want full control over the email’s content, formatting, and sender details, you need to use Custom Policies (also called Identity Experience Framework). With this setup, Azure AD B2C calls your custom REST API, and your selected email provider (like SendGrid or Mailjet) sends the email using your own template.

    You can refer to these Microsoft guides to set up custom email verification:

    If you're new to custom policies, this guide will help you get started:

    Tutorial - Create custom policies - Azure Active Directory B2C

    Hope this helps to clarify things a bit. Let me know if this answers your query, and feel free to post back if you have any further questions.

    1 person found this answer helpful.

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.