首页 文章

无法使用应用程序权限(角色)访问Microsoft Graph API组日历

提问于
浏览
2

我的目标是使用Microsoft Graph API列出Office 365组的日历事件 . 使用的 endpoints 是 https://graph.microsoft.com/v1.0/groups/{id}/events based on the documentation . 使用Graph Explorer,我'm able to get the information with my delegated permissions. The problem is when I make the same call using application permissions. I' m正JWT令牌包含进行调用所需的角色(Group.Read.All,Group.ReadWrite.All)但是我收到以下错误:

访问被拒绝 . 检查凭据,然后重试

奇怪的是,我能够得到小组 /v1.0/groups/{id} 但无论与之相关的是什么's calendar and events isn' t都可以访问 .

1 回答

相关问题