Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
个人邮箱,权限都配置好了。
现在发邮件是一定要企业邮箱,且有许可证吗?
Graph API:
1、发邮件接口测试成功
2、获取access_token成功:
https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token
scope = https://graph.microsoft.com/.default
3、获取用户接口成功:
https://graph.microsoft.com/v1.0/users/{email}
4、发邮件接口报错401
https://graph.microsoft.com/v1.0/users/{email}/sendMail