【问题标题】:Not getting any webhook notification for Microsoft O365 Management APIs未收到 Microsoft O365 管理 API 的任何 webhook 通知
【发布时间】: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


    【解决方案1】:

    Office 365 组织的审核似乎已禁用。

    确保开启audit log search

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-04-15
      • 1970-01-01
      • 1970-01-01
      • 2018-01-28
      • 2016-03-07
      • 1970-01-01
      • 1970-01-01
      • 2022-11-18
      相关资源
      最近更新 更多