o365管理活动API静默删除Webhook地址

问题描述

使用此api:https://docs.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-reference

我特别注意到Audit.General,目前,分配给我的内容订阅的Web钩地址将在一段时间后被删除。我没有收到任何警告或收到对我的Webhook的任何失败请求。

我被警告此处可能存在有关审核日志的建议,但未提及api: https://github.com/MicrosoftDocs/office-365-management-api/issues/179#issuecomment-673774247

事件顺序:

  1. 我开始使用Webhook地址订阅内容。
  2. 我收到验证码POST请求,我为此返回200。
  3. 我列出了订阅,并看到audit.general有一个Webhook地址
  4. 有效载荷POST进入审核一般,我的代码返回200
  5. 有些时候过去了。
  6. 我再次列出了订阅,并且audit.general没有Webhook详细信息

只是想知道是否有人经历过相同的退缩。如果有什么办法,我可以确认取消订阅的原因。

'''[{ “ contentType”:“ Audit.Exchange”, “ status”:“已启用”, “ webhook”:{ “ authId”:“ authid1”, “ address”:“ https:webhook.url / webhookid1”, “到期”:“”, “状态”:“已启用” } }, { “ contentType”:“ Audit.General”, “ status”:“已启用”, “ webhook”:null }, { “ contentType”:“ Audit.SharePoint”, “ status”:“已启用”, “ webhook”:{ “ authId”:“ authid2”, “ address”:“ https:webhook.url / webhookid1”“, “到期”:“”, “状态”:“已启用” } }]'''

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

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