Is it possible to obtain OAuth2 tokens for Gmail using Azure as the authentication platform?

%3CLINGO-SUB%20id%3D%22lingo-sub-2425433%22%20slang%3D%22en-US%22%3EIs%20it%20possible%20to%20obtain%20OAuth2%20tokens%20for%20Gmail%20using%20Azure%20as%20the%20authentication%20platform%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2425433%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3EAccording%20to%20this%20page%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Ftroubleshoot%2Fadministration%2Fcannot-connect-mailbox-pop-imap-outlook%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Ftroubleshoot%2Fadministration%2Fcannot-connect-mailbox-pop-imap-outlook%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CEM%3EOutlook%20supports%20Modern%20authentication%20for%20only%20Exchange%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22http%3A%2F%2Foutlook.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EOutlook.com%3C%2FA%3E%2C%20and%20Gmail%20at%20this%20time.%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3ESo%2C%20is%20it%20possible%20to%20register%20an%20app%20in%20Azure%2C%20ask%20for%20permissions%20like%20POP%2FIMAP%20and%20then%20obtain%20tokens%20so%20that%20the%20app%20can%20read%20a%20Gmail's%20account%20emails%3F%3C%2FP%3E%3CP%3EIf%20so%2C%20please%20point%20me%20to%20the%20documentation%20where%20this%20is%20explained.%3C%2FP%3E%3CP%3EThanks%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi all,

According to this page: https://docs.microsoft.com/en-us/exchange/troubleshoot/administration/cannot-connect-mailbox-pop-ima...

Outlook supports Modern authentication for only Exchange, Outlook.com, and Gmail at this time.

So, is it possible to register an app in Azure, ask for permissions like POP/IMAP and then obtain tokens so that the app can read a Gmail's account emails?

If so, please point me to the documentation where this is explained.

Thanks in advance.

0 Replies