所有用户日历的 O365 Webhook 订阅 [英] O365 Webhook Subscriptions for All Users Calendars

查看:18
本文介绍了所有用户日历的 O365 Webhook 订阅的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个现有的问题已经有了答案;但是,答案来自 Microsoft 开发人员,上面写着我们正在努力支持您请求的方案......"并继续提供一种似乎无法回答我的问题的方法.

There is an existing question which already has an answer; however, the answer comes from a Microsoft developer and reads, "We are working to support the scenario you are requesting..." and goes on to provide a method which doesn't seem to answer my question.

原文:使用微软graph读取所有用户日历

我的问题是,不是订阅单个用户的邮箱或日历,是否可以订阅所有邮箱或日历?

My question is, rather than subscribing to a single user's mailbox or calendar, is it possible to subscribe to all mailboxes or calendars?

我的应用程序需要监听日历会议的创建/更新/删除事件并将它们插入到 SharePoint 列表中.

My application needs to listen to the create/update/delete events of calendar meetings and insert them into a SharePoint list.

POST https://graph.microsoft.com/v1.0/subscriptions
Content-type: application/json

{
   "changeType": "created,updated",
   "notificationUrl": "https://webhook.azurewebsites.net/api/send/myNotifyClient",
   "resource": "me/mailFolders('Inbox')/messages",
   "expirationDateTime":"2016-11-20T18:23:45.9356913Z",
   "clientState": "subscription-identifier"
}

参考资料:

  1. 使用 Microsoft graph 读取所有用户的日历

创建订阅 - https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/subscription_post_subscriptions

推荐答案

此功能今天不可用.如果您想申请此功能,您可以在 uservoice

This feature is not available today. If you'd like to request this feature you can create an idea on uservoice

这篇关于所有用户日历的 O365 Webhook 订阅的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆