microsoft-graph-api - 无法订阅 MS Graph 中的丰富通知
问题描述
如何在 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"
}
}
}
解决方案
“丰富的通知”尚未通过 Microsoft Graph 启用。我们正在努力,并将添加一些令人兴奋的新功能。我们目前无法提供 ETA,但它是此功能区域的首选。
推荐阅读
- php - Bash 中的卷曲选项
- json - 返回 response()->json() 时要声明什么返回类型
- r - 如何根据其他列生成列的运行总计
- yii2 - YII2 登录资产 CSS 未加载
- node.js - Node.js > 'findOne' of undefined < LocalStrategy from Passport
- javascript - 未捕获的 TypeError: (0 , _module) 不是函数
- excel - 与列中的先前条目匹配,复制行中的其余数据
- sql - Laravel Auth 注册用户失败
- c# - 如何在 Xamarin 上使用 AppSettings 插件?我希望能够保存用户在 EmailEntry 上输入的内容
- javascript - vue:this在不同的范围内得到相同的对象