Sending a Welcome Email after Email-based Signup in Azure AD B2C

Deepak Singh 40 Reputation points
2024-02-14T09:16:54.1833333+00:00

I have a business requirement to send a welcome notification to the registered email address of users who recently signed up from Azure AD B2C Signup flow. I am wondering if there is any option available within OOTB User flow configuration or if I have to go with a custom policy. If I need to use a custom policy, are there any references available to achieve the end result?

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.
3,094 questions
{count} votes

Accepted answer
  1. Marilee Turscak-MSFT 37,156 Reputation points Microsoft Employee
    2024-02-14T22:55:42.09+00:00

    Hi @Deepak Singh ,

    Thanks for your post! There isn't an out-of-the-box user flow configuration and this feature is not available for custom policies. The best option would be to create a custom policy and use the SendGrid email provider.

    This is the documentation that has the most up-to-date steps to achieve this. https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-email-sendgrid?pivots=b2c-custom-policy

    You will need to create a SendGrid account, store the SendGrid API key in an Azure AD B2C policy key, and create a SendGrid email template that gets added to the claims transformation.

    Alternatively, this could also be done using an Azure Function that calls a REST API that sends an email, another third-party email provider such as SparkPost, or any HTTP-based email provider.

    If you would like to see this feature implemented as an out-of-the-box functionality, you can leave feedback in the feedback forum. https://feedback.azure.com/

    I have also added your feedback to an internal request.

    If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar questions.

    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.