Hi @Sean Burke
You just need to change https://outlook.office365.com/IMAP.AccessAsUser.All
to https://graph.microsoft.com/IMAP.AccessAsUser.All
, and Microsoft recommends using Microsoft Graph to access Outlook mail, calendar, and contacts. All of the Outlook Mail APIs Features have been migrated to the MS Graph API.
https://login.microsoftonline.com/common/oauth2/v2.0/authorize?
client_id=CLIENT ID
&response_type=code
&redirect_uri=https://localhost
&scope=https://graph.microsoft.com/IMAP.AccessAsUser.All
&login_hint=PERSONAL_ACCOUNT
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.