简体   繁体   English

在用户未登录时通过 Microsoft Graph API 访问日历

[英]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.

相关问题 通过 Microsoft Graph API 创建用户 - Creating a user via Microsoft Graph API 如何使用 Microsoft Graph API 和 java 为用户获取日历事件 - How to fetch calendar events for a user using Microsoft Graph API with java Microsoft 图形 API:通过应用程序范围访问存在信息 - Microsoft graph API: Accessing presences information via an Application scope 如何在不需要管理员权限的情况下访问Microsoft Graph API中已登录用户的组? - How can I access the signed in user's groups in Microsoft's Graph API without needing admin priviledges? 代表当前登录单独Web客户端的用户从API访问MS Graph - Accessing MS Graph from API on behalf of user currently signed in to separate web client Microsoft Graph Api 使用 Microsoft 帐户创建用户, - Microsoft Graph Api Create User With Microsoft Account, 通过邮递员调用微软图api - calling microsoft graph api via postman Microsoft Graph API 我无法访问我的日历 (ResourceNotFound) - Microsoft Graph API I can't access my calendar (ResourceNotFound) Microsoft Graph API 在 Outlook 日历上,无需检查内部私人事件 - Microsoft Graph API on Outlook calendar without checking inside private events 如何识别该事件属于Microsoft graph API中的日历? - How to recognize which calendar the event belongs in Microsoft graph api?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM