[英]Accessing calendar via Microsoft Graph API while the user is not signed in
I need to be able to create and modify events in a user's outlook calendar from a background service on my server.我需要能够从我服务器上的后台服务创建和修改用户 Outlook 日历中的事件。 The users should only need to define this calendar once in my web application (sign in to their Microsoft account).
用户只需在我的 Web 应用程序中定义一次此日历(登录到他们的 Microsoft 帐户)。 Afterwards my application needs to be able to modify it in the background without having the user to signed in.
之后我的应用程序需要能够在后台修改它而无需用户登录。
Is there a way to grant those permissions to the server application with the Microsoft Graph API?有没有办法使用 Microsoft Graph API 将这些权限授予服务器应用程序?
If you would like to update events without users, it is depending on the type of calendar that the event is in.如果您想在没有用户的情况下更新事件,这取决于事件所在的日历类型。
Application permissions are not supported for updating events in group calendar . 更新组日历中的事件不支持应用程序权限。
But Application permission(Calendars.ReadWrite) is supported for updating events in user calendar .但支持应用程序权限(Calendars.ReadWrite) 更新用户日历中的事件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.