我的用户创建了我的GraphServiceClient订阅,并且收到了成功的响应:
My GraphServiceClient subscription was created on my user and I receive a successful response:
{ "resource": "users/me@my.domain/events", "changeType": "created,updated", "clientState": "baedacff-7b53-4aca-81b8-20f9fff68618", "notificationUrl": "my.domain/notification/listen", "expirationDateTime": "2018-04-27T17:57:16.0115964+00:00", "id": "f4090189-2d12-45a0-9ad2-77c3595b07b4", "@odata.context": "graph.microsoft/v1.0/$metadata#subscriptions/$entity" }但是,尽管昨天使用的代码完全相同,但是今天没有通知发送到我的端点.
However, although the exact same code was working yesterday, today no notifications are sent to my endpoint.
我不知道该怎么看,以查看为什么它不起作用,因为订阅说它已创建,只是O365没有发送任何通知.
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.
我该如何调试呢?
推荐答案我认为此问题是由O365进行的某种限制引起的.从那以后我们就再也没有体验过,我们正在为O365中的数百个用户创建订阅.如果您正在创建订阅但没有收到通知,则建议删除您的订阅,等待一两天,然后重新创建.
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.
更多推荐
已创建图订阅,但未发送通知
发布评论