Open Firat-Gulec opened 7 months ago
For $oauthuri, it should be similar to https://login.microsoftonline.com/{TENANT ID}/oauth2/v2.0/ You can get this from the Endpoints button in Azure App Registrations, except they give you the URL with /token or /authorize at the end - remove that and it should work.
One other thing, in /lib/OAuth.pm, I had to update line 158 to:
$scope .= "%20offline_access%20https%3A%2F%2Foutlook.office.com%2FIMAP.AccessAsUser.All";
Hi I tried to use m365 modern Auth but it didn't connect I use this command -i and -d flag and I created azure app registration for imap. also I used auth2 uri and client ID and my debug info is below
Can you help me? I think it will help with all questions.
Originally posted by @Firat-Gulec in https://github.com/userjack6880/Open-Report-Parser/issues/9#issuecomment-1821099661