【发布时间】:2020-08-12 01:27:07
【问题描述】:
我已经创建了以下 webhook 并且都已启用。:
[
{
"contentType": "Audit.AzureActiveDirectory",
"status": "enabled",
"webhook": {
"authId": "12345",
"address": "https://978b7cfb66d9.ngrok.io/callback/",
"expiration": "",
"status": "enabled"
}
},
{
"contentType": "Audit.General",
"status": "enabled",
"webhook": {
"authId": "12345",
"address": "https://978b7cfb66d9.ngrok.io/callback/",
"expiration": "",
"status": "enabled"
}
},
{
"contentType": "Audit.SharePoint",
"status": "enabled",
"webhook": {
"authId": "12345",
"address": "https://978b7cfb66d9.ngrok.io/callback/",
"expiration": "",
"status": "enabled"
}
}
]
当 sharepoint 发生更改时,我没有看到任何通知。有什么特别需要改变的吗? 从访问令牌中,我确实看到了正确的应用权限:
"roles": [
"ServiceHealth.Read",
"ActivityFeed.Read"
]
我手动查询获取内容,显示为空。
https://manage.office.com/api/v1.0/{tenant-guid}/activity/feed/subscriptions/content?contentType=Audit.Sharepoint
【问题讨论】:
标签: office365api azure-management-api