我面临着InvalidUserAddress和unsupportedScenario的问题,甚至认为我已经检查了标头和参数, 一切正确,
无论是否有位置限制,我都尝试过,即使授权令牌也很完美
HTTP/1.1 400 Bad Request
Cache-Control: private
Transfer-Encoding: chunked
Content-Type: application/json
request-id: 80c3e650-3a57-49b5-b49d-39a4f585192e
client-request-id: 80c3e650-3a57-49b5-b49d-39a4f585192e
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"South India","Slice":"SliceC","Ring":"5","ScaleUnit":"002","Host":"AGSFE_IN_6","ADSiteName":"INS"}}
Duration: 78.1616
Strict-Transport-Security: max-age=31536000
Date: Fri, 08 Feb 2019 12:05:22 GMT
Connection: close
{
"error": {
"code": "BadArgument",
"message": "Invalid user address",
"innerError": {
"code": "UnsupportedScenario",
"request-id": "80c3e650-3a57-49b5-b49d-39a4f585192e",
"date": "2019-02-08T12:05:23"
}
}
}
答案 0 :(得分:0)
当我尝试Graph findMeetingTimes方法的v1.0或beta版本(文档= {https://docs.microsoft.com/en-us/graph/api/user-findmeetingtimes?view=graph-rest-beta&tabs=http)时,遇到相同的错误。
我正在使用注册的应用程序,因此使用了应用程序权限。遗憾的是,此方法不支持该权限类型。
Siddhant,您是否也在使用应用程序访问权限?如果是这样,唯一的解决方法似乎是使用用户的登录名或用户委派的访问适当邮箱的权限。