Microsoft Graph
一种 Microsoft 可编程性模型,用于公开 REST API 和客户端库以访问 Microsoft 365 服务上的数据。
59 个问题
1.为用户Scopes授予:"https://graph.microsoft.com/Mail.ReadWrite",
"https://graph.microsoft.com/Mail.Send",
"https://graph.microsoft.com/MailboxSettings.ReadWrite",
"https://graph.microsoft.com/SMTP.Send",
"https://graph.microsoft.com/IMAP.AccessAsUser.All",
"offline_access"
2.取到了accessToken和,refresh_token
3.服务器使用oauth2协议的accessToken登录,以下是代码:
执行代码报错:连接失败..imap: NO AUTHENTICATE failed. Provided authentication mechanism is not supported