Graph Subscription Created but Notifications Not Being Sent

假装没事ソ 提交于 2021-01-27 13:47:24

问题


My GraphServiceClient subscription was created on my user and I receive a successful response:

{
  "resource": "users/me@my.domain.com/events",
  "changeType": "created,updated",
  "clientState": "baedacff-7b53-4aca-81b8-20f9fff68618",
  "notificationUrl": "https://my.domain.com/notification/listen",
  "expirationDateTime": "2018-04-27T17:57:16.0115964+00:00",
  "id": "f4090189-2d12-45a0-9ad2-77c3595b07b4",
  "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#subscriptions/$entity"
}

However, although the exact same code was working yesterday, today no notifications are sent to my endpoint.

I have no idea what to look at to see why this isn't working as the subscription says it was created, simply O365 is NOT sending any notifications.

How can I debug this?


回答1:


I believe this issue was caused by some sort of throttling done by O365. We have not experienced it since and we are creating subscriptions for hundreds of users in O365. If you are creating subscriptions and not getting notifications, I suggest deleting your subscriptions, waiting a day or two and creating them again.



来源:https://stackoverflow.com/questions/50068294/graph-subscription-created-but-notifications-not-being-sent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!