Replies: 3 comments 1 reply
-
Have you granted permissions to your app? Make sure to follow all of the steps in the "Web services" section: https://github.com/jstedfast/MailKit/blob/master/ExchangeOAuth2.md |
Beta Was this translation helpful? Give feedback.
-
Hi @jstedfast With respect to granting permissions talk about in the comment above, during I've searched through the other members of Do you know if the permissions have been moved or if something has changed? |
Beta Was this translation helpful? Give feedback.
-
I'm not sure, I'd recommend following the Microsoft documentation that my docs link to. |
Beta Was this translation helpful? Give feedback.
-
I am creating an automated application that runs without user interaction to log in to a Microsoft 365 email account to read emails and move them to another folder.
I have registered the app within Microsoft Entra and believe I have all the settings correct.
I do receive a token back and a TokenEndpoint.
However, I am receiving an "Authentication failed." error.
Below is my C# code.
I have spent a good bit of time on this but I am just stuck. I assume that there may be something simple I am missing and would appreciate it if anyone can point me in the right direction.
THANKS!
Beta Was this translation helpful? Give feedback.
All reactions