This article covers the most common errors that may occur in SMTP setup and how to resolve them.
Looking for SMTP setup instructions? You'll find them in the SMTP setup article.
MS Exchange SMTP issues
Invalid_grant (error code AADSTS65001)
What is the issue?
- If you use MS Exchange through Entra Enterprise and receive an invalid_grant error (error code AADSTS65001) while setting up your Microsoft Exchange SMTP server, it means that the Scoro application doesn't have the necessary administrator consent in your Entra Admin Center settings.
How to solve the invalid_grant issue:
-
Grant the permission:
- In the Entra Admin Center, select Show all to display all Admin Centers.
- In the side menu, navigate to Entra ID > Enterprise apps.
- Click on the Scoro app, then open the Permissions section in the side menu.
- Click the blue Grant admin consent button. The permissions request screen will appear – click the Accept button.
- Retry the setup: Try setting up your MS Exchange SMTP in Scoro again. Since the Scoro app now has admin permissions, the SMTP setup should work successfully.
For more detailed guidance, see the Grant tenant-wide admin consent to an application article on Microsoft Learn.