rblake you can see other details at https://forum.osticket.com/d/101392-oauth2-microsoft-setup/34
I started fresh and followed all the steps, but still not working @KevinTheJedi do you think something changed on RC3 vs. RC2? Yesterday, I got it to successful get Token, but not able to enable Fech IMAP or SMTP
It lets me log in to Azure to verify my user/password, then I get an error:
.com/api/auth/oauth2?code=0.AXgA2fAVo4Vd60CnyrQF14356.... etc.
Not Found
The requested URL was not found on this server.
If using the hybrid flow (e.g ASP.NET Core, ASP.NET web apps), enable ID tokens in the implicit grant flow.
I gave access to: ID tokens (used for implicit and hybrid flows)
Implicit grant and hybrid flows
Request a token directly from the authorization endpoint. If the application has a single-page architecture (SPA) and doesn't use the authorization code flow, or if it invokes a web API via JavaScript, select both access tokens and ID tokens. For ASP.NET Core web apps and other web apps that use hybrid authentication, select only ID tokens. Learn more about tokens.
Select the tokens you would like to be issued by the authorization endpoint:
Access tokens (used for implicit flows)
ID tokens (used for implicit and hybrid flows)
If hit back, I get error:
AADSTS900561: The endpoint only accepts POST requests. Received a GET request.
Request Id: a91c0c8e-a915-4dfa-a1b6-10b2b4591200
Correlation Id: 1bbf5fd1-3cac-45f7-becf-752d20277320
Timestamp: 2022-08-17T13:13:16Z
Message: AADSTS900561: The endpoint only accepts POST requests. Received a GET request.
Any pointer would be great
There is a YouTube Video on How to connect to Office 365 with IMAP, Oauth2, and Client Credential Grant Flow, which requires doing some PowerShell commands
https://youtu.be/bMYA-146dmM