eazyleft.blogg.se

360works email oauth2
360works email oauth2







Credits to for the bootstrap doc to use those informations elegantly. I use it to fetch attachments via POP3 from automated mails coming in a mailbox of our tenant, the app runs from a scheduled task so it needs to be able to run without interaction.įirst, you need to get the TenantID and ClientID the tenant admin gets when registering an app on the tenant. I know this is an old post but with Microsoft progressively rolling modern authentication on all Office 365 tenants. But I will update this question if I'll ever find an answer to it. When I'm using an app-password authentication fails because of incorrect password. Our user account requires multifactor-authentication and therefor I get an error when using the user's password since I cannot satisfy the second factor. I managed to get a little closer to what I want to do using Microsoft Graph SDK and the Username/Password Provider. I do not want to send mails on behalf of signed-in users but instead there is a single Office365 user account that shall be used to send mails (notifications and so on) to others.

360works email oauth2 how to#

Right now I'm playing around with MS Identity Platform v2.0 but I'm unable to figure out how to do it. In fact, there might be a solution available according to this answer but I'm unable to find anything about it. So, I want to use OAuth 2.0 to connect to Exchange Online, similar to this example. Our company is MS partner and therefor is obligated to turn off Basic Authentication for our services by the end of february 2020. I have a web application that sends e-mails to users via Exchange Online (Office365) using MailKit and Basic Authentication.







360works email oauth2