提问人:Muhammad Fahad Nadeem 提问时间:11/9/2021 更新时间:11/9/2021 访问量:73
MS Graph API 频繁/过度触发客户端应用以对抗 Active Directory 用户更改
MS Graph API frequently/excessively triggering the client app against Active Directory User changes
问:
背景:
我想在逻辑应用中接收有关 Azure Active Directory 用户更改的通知。我使用 Microsoft Graph 的 REST API 创建了对 AD 用户更改的订阅:
POST https://graph.microsoft.com/v1.0/subscriptions
{
"changeType": "updated",
"notificationUrl": "https://mylogicapp.com",
"resource": "/users",
"expirationDateTime": "2021-11-11T11:00:00.0000000Z",
"clientState": "SecretClientState"
}
我收到了 HTTP 响应代码,并开始在应用程序中接收通知。(请参阅 Microsoft 文档)。201 Created
问题:我收到的通知比预期的要多得多,而且非常频繁。我只想接收范围限定为 AD 用户资源类型的通知,而不是任何子资源类型。大量用户更改通知背后的问题可能是什么?在订阅创建请求中设置范围时,我是否做错了什么或遗漏了什么?
答: 暂无答案
评论