如何使用 Microsoft Graph Api 访问组日历?
How to access a group calendar using Microsoft Graph Api?
我正在尝试使用 Microsoft Graph api 作为应用程序访问群组日历(我不想使用委托权限)。
如果我使用下面的方法请求日历事件,我就可以很好地为用户获取事件。
https://graph.microsoft.com/v1.0/users/[emailAddress]/events
如果我向以下对象发出请求,我将获得群组信息:
https://graph.microsoft.com/v1.0/groups/[groupId]/
如果我对此提出请求:
https://graph.microsoft.com/v1.0/groups/[groupId]/events
我明白了 "Access is denied. Check credentials and try again."
在 azure 门户中,我为我的应用服务提供了以下应用程序权限:
Calendars.Read
Calendars.Read.Shared
Group.Read.All
User.Read.All
我错过了什么?
目前不支持列出事件的应用程序权限。此外,不支持使用个人帐户的委派权限列出事件。请参考List Events documentation which has the details. You can also refer to known limitations of Graph here。
用户对此功能请求的意见也可用 here,您可以投票赞同,以便产品团队可以将其纳入他们的计划。
我正在尝试使用 Microsoft Graph api 作为应用程序访问群组日历(我不想使用委托权限)。
如果我使用下面的方法请求日历事件,我就可以很好地为用户获取事件。
https://graph.microsoft.com/v1.0/users/[emailAddress]/events
如果我向以下对象发出请求,我将获得群组信息:
https://graph.microsoft.com/v1.0/groups/[groupId]/
如果我对此提出请求:
https://graph.microsoft.com/v1.0/groups/[groupId]/events
我明白了 "Access is denied. Check credentials and try again." 在 azure 门户中,我为我的应用服务提供了以下应用程序权限:
Calendars.Read
Calendars.Read.Shared
Group.Read.All
User.Read.All
我错过了什么?
目前不支持列出事件的应用程序权限。此外,不支持使用个人帐户的委派权限列出事件。请参考List Events documentation which has the details. You can also refer to known limitations of Graph here。 用户对此功能请求的意见也可用 here,您可以投票赞同,以便产品团队可以将其纳入他们的计划。