没有收到有关Microsoft O365管理API的任何Webhook通知

问题描述

我创建了以下网络钩子,并且都已启用。

[
    {
        "contentType": "Audit.AzureActiveDirectory","status": "enabled","webhook": {
            "authId": "12345","address": "https://978b7cfb66d9.ngrok.io/callback/","expiration": "","status": "enabled"
        }
    },{
        "contentType": "Audit.General",{
        "contentType": "Audit.SharePoint","status": "enabled"
        }
    }
]

在共享点中进行更改时,我看不到任何通知。有什么特别需要改变的地方吗? 从访问令牌中,我确实看到正确的应用程序权限:

"roles": [
    "ServiceHealth.Read","ActivityFeed.Read"
  ]

我手动查询以获取内容,它显示为空。

https://manage.office.com/api/v1.0/{tenant-guid}/activity/feed/subscriptions/content?contentType=Audit.Sharepoint

解决方法

好像禁用了Office 365组织的审核。

确保打开audit log search

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...