Forum Discussion
Marco Scheel
Sep 14, 2017Iron Contributor
Webhook (aka Subscription) for groups ressource changeType = created not working
HI, I'm looking for an fast and efficiant way to get notified for new AAD groups (unified groups to be exact). I could us the groups endpoint and then do a delta query every 5 minutes. But this i...
John Liu
Dec 26, 2017MVP
I wanted to add that I can still reproduce this problem.
{
"error": {
"code": "InvalidRequest",
"message": "Invalid 'changeType' attribute: 'created'.",
"innerError": {
"request-id": "a311f723-b5e8-4434-9e34-1f19fa492439",
"date": "2017-12-26T12:10:02"
}
}
}
Change Type values for "updated" or "deleted" works. My listener gets called with validation token and I return that (if I don't subscription errors). But then I get an internalServerError after that so still stuck.
- John LiuFeb 15, 2018MVPquick note - updated and deleted works.
I've got feedback that MSGraph currently shows 'created' event as part of 'updated' event. So listening to 'updated' event will trigger on new groups.- AnonymousJun 13, 2018
Were you able to configure a subscription to only Unified Groups?
- John LiuFeb 11, 2019MVPSorry very late response.
No, I just filter out those signals.