【问题标题】:Receiving Change Notifications From another user's Calendar从其他用户的日历接收更改通知
【发布时间】:2020-10-14 00:16:08
【问题描述】:

环境


  • Outlook 桌面版 (Office 365);
  • Exchange 服务器;
  • Azure 云


初始条件


USER_AUSER_B 的助手,负责管理 USER_B 的日历(Outlook 共享日历)。我们希望跟踪 USER_B 日历中的更改。在 Outlook/Exchange 中,USER_AUSER_B代表

目标


当某些 Outlook 日历项目被修改时,我们想调用一个函数应用程序来更新数据库。日历可以是共享日历,但不一定是共享日历。

用例


USER_B 未登录,但 USER_AUSER_B 的日历中创建了约会。

即使 USER_B 未登录,我们仍希望捕获 USER_A 所做的更改并更新我们的数据库。换句话说,应该为共享日历触发更改通知,即使该日历的所有者没有登录。

问题 Function App 是否需要“应用”级别的权限才能执行此操作?

代码看起来像:

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

{
   "changeType": "created",
   "notificationUrl": "https://webhook.azurewebsites.net/api/send/UpdateDataBase",
   "resource": "users/{a-user-id}/events",
   "expirationDateTime":"2020-10-20T19:23:45.9376913Z",
   "clientState": "bigSecret",
   "latestSupportedTlsVersion": "v3"
}

【问题讨论】:

    标签: outlook microsoft-graph-api azure-ad-graph-api microsoft-graph-calendar


    【解决方案1】:

    为了在共享日历中获得更改通知,需要“应用程序”级别的权限。

    我在这里找到了这个How to subscribe calendar event if calendar is given delegated permission using ms-graph api

    【讨论】:

      猜你喜欢
      • 2018-07-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-06-28
      • 1970-01-01
      • 1970-01-01
      • 2012-12-26
      • 2012-12-02
      相关资源
      最近更新 更多