Microsoft graph api 无法更新事件测试终结点
我已经创建了一个具有所有所需权限的应用程序 我可以使用beta端点创建事件:Microsoft graph api 无法更新事件测试终结点,microsoft-graph-api,microsoft-graph-calendar,Microsoft Graph Api,Microsoft Graph Calendar,我已经创建了一个具有所有所需权限的应用程序 我可以使用beta端点创建事件: https://graph.microsoft.com/beta/users/xyz@test.com/calendars/XXX/events/YYY 但当我尝试更新它时,出现了一个错误: { "code": "NavigationNotSupported", "message": "Recursive navigation is not allowed after property 'Events' ac
https://graph.microsoft.com/beta/users/xyz@test.com/calendars/XXX/events/YYY
但当我尝试更新它时,出现了一个错误:
{
"code": "NavigationNotSupported",
"message": "Recursive navigation is not allowed after property 'Events' according to the entity schema.",
"innerError": {
"request-id": "9dd2afea-219a-436d-bd27-e73a7407dfab",
"date": "2019-09-27T07:49:35"
}
}
此外,我还可以使用v1.0端点更新此事件:
https://graph.microsoft.com/v1.0/users/xyz@test.com/calendars/XXX/events/YYY
Microsoft Graph beta版中是否存在问题,或者我是否遗漏了一些内容?请注意
Microsoft Graph中/beta版本下的API可能会发生更改。
不支持在生产应用程序中使用这些API
我们应该使用/v1.0版本而不是/beta版本。看看这个问题的答案, 您可能会幸运地使用此URL更新事件,而不必导航“calendars”导航属性,如下所示
https://graph.microsoft.com/beta/users/xyz@test.com/events/YYY
欢迎来到堆栈溢出!我强烈推荐阅读一些关于开始的技巧。如果看不到您提交的实际请求,就很难诊断发生了什么。错误消息和URI本身并没有多大帮助。请在帮助您的答案上单击“标记为答案”(单击答案旁边的复选标记将其从灰色切换为填充),这可能对其他社区成员有益。非常感谢。