【问题标题】:Unable to subscribe to rich notifications in MS Graph无法订阅 MS Graph 中的丰富通知
【发布时间】:2019-01-16 17:02:28
【问题描述】:

如何在 MS Graph 中创建包含丰富通知的订阅?

发布https://graph.microsoft.com/v1.0/subscriptions

{
    "resource": "users/{email}/messages?$select=hasAttachments",
    "changeType": "created",
    "clientState": "415e99b4-73af-454e-93b5-00eb6c3082b9",
    "notificationUrl": "https://229c8207.ngrok.io/Notification/Listen",
    "includeProperties": true,
    "expirationDateTime": "2019-01-16T22:21:56.3942423+00:00"
}

预期:已创建 202 个

实际:400 错误请求

{
    "error": {
        "code": "InvalidRequest",
        "message": "Microsoft.Exchange workload is not enabled for rich notifications.",
        "innerError": {
            "request-id": "7e03b3c9-aa49-4222-b7a7-5fddebc82327",
            "date": "2019-01-16T16:47:24"
        }
    }
}

【问题讨论】:

  • 它是否适用于 beta api?将 URL 中的“v1.0”替换为“beta”。

标签: microsoft-graph-api webhooks


【解决方案1】:

“丰富的通知”尚未通过 Microsoft Graph 启用。我们正在努力,并将添加一些令人兴奋的新功能。我们目前无法提供预计到达时间,但它是此功能区域的首选。

【讨论】:

  • 33个月过去了,不知是否还在榜首……
  • 我相信这也适用于旧 API
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-10-17
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多