我找不到使用Microsoft图谱API创建新订阅多个资源的方法:https://developer.microsoft.com/en-us/graph/docs/concepts/webhooks
例如,我想创建一个与userPrincipalName相关的所有邮箱的新订阅,该邮件以'dev'开头:/users/dev1@microsoft.com/messages,/users/dev2@microsoft.com/messages dev1 @ onmicrosoft . COM
样品申请:
{“changeType”:“created”,“notificationUrl”:“notifurl”,“resource”:“”,“expirationDateTime”:“2018-10-10T18:23:45.9356913Z”,“clientState”:“secretClientValue”}
我可以创建吗?谢谢
1 回答
不需要 . 您需要为每个邮箱创建一个订阅 .
resource
参数不支持通配符或多个值 .