Share via

Graph Webhook Notification for Events with filtering

Anonymous
2023-01-05T16:25:55.987+00:00

I am trying to subscribe for notifications with filtering because I am only interested in receiving creates, changes or deletes of events for a specific user for today.

I tried a lot of different approaches but I am failing to create a subscription when i add a filter. Can someone help me?

I tried the following on the endpoint https://graph.microsoft.com/v1.0/subscriptions and also on https://graph.microsoft.com/beta/subscriptions:

"resource":"users/{id}/events?$filter=start/dateTime ge '2023-01-05T00:00:00Z'"

But getting the following error:
276546-image.png

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. HarmeetSingh7172 4,831 Reputation points
    2023-01-05T21:32:50.453+00:00

    Hello @Anonymous

    Thanks for reaching out!

    Based on my research, currently change notifications for outlook events do not support $filter OData query parameter to narrow down notifications. Refer this documentation to know about Supported resources.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.