已创建图订阅,但未发送通知 [英] Graph Subscription Created but Notifications Not Being Sent

查看:58
本文介绍了已创建图订阅,但未发送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的用户创建了我的GraphServiceClient订阅,并且收到了成功的响应:

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.

我不知道该怎么看,以查看为什么它不起作用,因为订阅说它已创建,只是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.

这篇关于已创建图订阅,但未发送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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