The process of building custom applications and tools that interact with Microsoft Exchange Server
As of 3/13/2026 Microsoft does not support what you want to do.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We are trying to send the notification using OAuth2.0 via microsoft 365 exchange online.However we are unable to Authenticate
and send the notifications.
AuthenticationException: 535: 5.7.3 Authentication unsuccessful
we did some research and found that we need to setup some app permissions within microsoft entra ID Client App.
However we could not see these permissions available in our Enterprise Account.We would like to what we missing any help to us is very much appreciated
Thank you
The process of building custom applications and tools that interact with Microsoft Exchange Server
As of 3/13/2026 Microsoft does not support what you want to do.
Hello Tyfone Inc
Thank you for reaching out to the Q&A Forum.
Based on your description, I would like to share some information from my research that I hope will be helpful that this error generally indicates Permission Type Mismatch or Mailbox Restriction
You likely cannot find the permissions because you are looking under "Microsoft Graph" or attempting to use "Application Permissions". Microsoft does not support SMTP via OAuth with Application Permissions (Client Credentials flow).
Use Delegated Permissions (User Interactive flow).
Even with the correct token, error 5.7.3 often means the mailbox itself is blocking SMTP connections. This is disabled by default in many newer tenants.
You should enable this via Exchange Online PowerShell: Enable or disable SMTP AUTH in Exchange Online | Microsoft Learn
I hope this information is helpful.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.