Cannot send Email form Office 365 Integration

Hi everyone,
I’m trying to integrate Office365 for custom email functionality in Auth0.

Here are the steps I followed:

  1. I followed the guide provided in the documentation: Configure 365 Exchange as SMTP Email Provider.
  2. I created the application in the Azure Portal as outlined in the guide.
  3. I granted the Mail.Send permission to the application.
  4. I did not whitelist any IPs - did not found any way to do it

However, despite following these steps, the integration is not working as expected. Emails are not being sent, and I’m receiving no meaningful messages.

The error i get is: Error sending email: Access is denied. Check credentials and try again BUT The credentials are ok

Has anyone faced a similar issue or have any tips for troubleshooting this? Any guidance would be greatly appreciated.

Thanks in advance!

Hi @lory1990,

Welcome to the Auth0 Community!

Can you take a look at this Community article that addresses this error: 365 as External SMTP Error Sending Email: Access is Denied. Check Credentials and Try Again

The solution discusses a common permission issue with Microsoft 365.

Best,

Mary Beth

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.