【发布时间】:2020-03-27 03:55:45
【问题描述】:
几个月前,我为某些收件箱创建了一些订阅,系统成功接收到有关已收到电子邮件的通知,订阅也会定期更新以增加到期日期。 这是我的订阅列表:
https://graph.microsoft.com/v1.0/subscriptions/
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#subscriptions",
"value": [
{
"id": "ef4d00ca-cf0c-4da6-bded-1ab47295e3f5",
"resource": "users/622eee14-9413-49e3-ac53-10148eba09be/messages",
"applicationId": "281e7aa8-7ef8-4a02-9195-83ffb149d95c",
"changeType": "created",
"clientState": null,
"notificationUrl": "https://...",
"expirationDateTime": "2019-12-03T23:00:03.0238504Z",
"creatorId": "2ca67f35-32ba-4ef5-99ab-6686a93e0007"
},
{
"id": "6f056383-df34-47b5-aaf2-dce3fca1c511",
"resource": "users/3ccbd0c8-f11e-4bac-99df-27b78be74aaa/messages",
"applicationId": "281e7aa8-7ef8-4a02-9195-83ffb149d95c",
"changeType": "created",
"clientState": null,
"notificationUrl": "https://...",
"expirationDateTime": "2019-12-03T23:00:01.4332477Z",
"creatorId": "2ca67f35-32ba-4ef5-99ab-6686a93e0007"
}
]
}
但从今天(2019-12-02)开始,系统停止接收通知。 然后我用我的测试帐户创建了订阅 订阅已成功创建, 拨打https://graph.microsoft.com/v1.0/subscriptions/,收到回复
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#subscriptions",
"value": [
{
"id": "dfefbb04-887f-439f-bb09-a6075eeca8cd",
"resource": "users/ebaeb8ab-44c1-40e1-8725-635759c035db/messages",
"applicationId": "57afcb67-6089-4abc-bba8-2470ce9c22ec",
"changeType": "created",
"clientState": null,
"notificationUrl": "https://63efa1ea.ngrok.io/api/Core/MailNotification/Listen",
"expirationDateTime": "2019-12-04T13:10:14.2380272Z",
"creatorId": "6a046ec1-ec01-43de-83b8-0e0696e89ecf"
}
]
}
我已尝试将电子邮件发送到上述邮箱,但我仍然没有收到任何通知。 Ms Graph 有什么变化吗?有没有办法解决这个问题,我可以在 azure 门户或其他地方看到一些日志,MS Graph 是否试图向我发送通知?还是突然停止工作?
【问题讨论】: