graph url scopes not supported for smtp and imap

Copper Contributor

For authentication, we are using below scopes as mentioned in the doc


We are able to get access_token and refresh_token successfully
We want get userPrincipalName using graph api
however we are getting error , looks like for hitting graph api only graph scopes would work.

We tried with graph scopes urls, , 

and able to hit graph api , however smtp and imap authentication is not working with these scopes.

since Microsoft is deprecating outlook rest apis and asking to move to graph api
then why graph scopes urls are not supported for SMTP and IMAP ?

0 Replies