Configure Azure Communication Services as External SMTP Email Provider
Before you start
Configure your tenant to send emails from Auth0 to your SMTP provider.
Open ports and allow inbound traffic from your Auth0 to Azure Communications Services.
Navigate to Dashboard > Branding > Email Provider.
Update the list of IPs. To learn more, read Auth0 IP Addresses for Allow Lists
Create a Microsoft Azure account with an active subscription.
Auth0 allows you to configure your own SMTP email provider so you can more completely manage, monitor, and troubleshoot your email communications. Auth0's built-in email infrastructure should be used for testing emails only.
Configure Azure Communication Services
Log in to your Microsoft Azure account.
Create a Communication Services resource if you do not have one.
Enter "Communication Services" in the search bar.
Select Create.
Under the Tools settings, select Keys. Retrieve your Communication Services Connection String.
Under Primary Key, copy the Connection string value.
A valid connection string follows the format
endpoint={commuication services url};accesskey={access key}
.
With the Connection string value, navigate to Auth0 Dashboard > Branding > Email Provider.
Select the Use my own email provider.
Select Azure Communication Services.
Complete the configuration:
Enter a From email address
Add the Azure Communication Services Connection string.
Select Save.
Send a test email
Send a test email using the Send Test Email button. If you have configured everything correctly, you will receive a confirmation email.
If you do not receive an email after a few minutes, please check your Auth0 logs for error codes. The Communication Services Metrics Monitor page will now display delivery insights for all emails that have been sent to your users.