尝试获取邮件 url 时,https://graph.microsoft.com/v1.0/me
我不断收到类似"mail:null"
.
完整回复如下:
{
"@odata.context": "https://graph.microsoft.com/v1.0/",
"@odata.type": "#microsoft.graph.user",
"@odata.id": "users/XXXXXXXXX",
"businessPhones": ["XXXXXXXX"],
"displayName": "XXXX XXXX",
"givenName": "XXXX",
"jobTitle": null,
"mail": null,
"mobilePhone": "XXXXXXXX",
"officeLocation": null,
"preferredLanguage": "en-US",
"surname": "XXXXXXX",
"userPrincipalName": "XXXXXXX@XXXXX.onmicrosoft.com",
"id": "XXXXX-XXXXX-XXXXX"
}
有人知道为什么它不会返回完整的个人资料信息吗?我正在使用 1.0 版。