最近ロールアウトされた管理アクティビティ API にアクセスできません。アプリを正しく構成したと信じていますが、
それでも、次の API 呼び出しを行うと
役職
https://manage.office.com/api/v1.0/<tenantId>/activity/feed/subscriptions/start?contentType=Audit.SharePoint
体
{
"webhook" : {
"address": "<myServerURL>",
"authId": "o365activityapinotification",
"expiration": ""
}
}
応答
401
{
"Message": "Authorization has been denied for this request."
}
私は何を間違っていますか?
更新 1
Webhook の登録に成功しました (問題が何であるかはわかりませんが、Webhook が登録されました)
{
"contentType": "Audit.Sharepoint",
"status": "disabled",
"webhook": {
"authId": "o365activityapinotification",
"address": "<myserverurl>",
"expiration": null,
"status": "enabled"
}
}
私が得た応答です。今私の質問は、ステータスが無効になっているのはなぜですか? たくさんの変更を行いましたが、プッシュが受信されていません。この無効状態が理由だと思います。何か助けはありますか?

