Sep 04 2017
11:32 PM
- last edited on
Feb 01 2023
10:33 AM
by
TechCommunityAP
Sep 04 2017
11:32 PM
- last edited on
Feb 01 2023
10:33 AM
by
TechCommunityAP
Have to filter events by multiple attendees, I don't know the proper way of filtering it.
https://graph.microsoft.com/v1.0/me/events?$filter=attendees/any(emailadress:startswith(emailadress/name,'xxxxv@xxx.com'))
"location": { "displayName": "Test" }, "recurrence": null, "attendees": [ { "type": "required", "status": { "response": "none", "time": "0001-01-01T00:00:00Z" }, "emailAddress": { "name": "yyyy ", "address": "yyy@yyy.com" } }, { "type": "required", "status": { "response": "none", "time": "0001-01-01T00:00:00Z" }, "emailAddress": { "name": "xxxx", "address": "xxx@xxx.com" } },
I want to get events list where attendees email address are 'xxx@xx.com,yyy@yy.com'
tried https://graph.microsoft.com/v1.0/me/events?$filter=attendees/any(x: x/emailAddress/address eq 'my string') . but getting an error "'i => i.Attendees.Any(a => (a.EmailAddress == \"my string\"))' is not a supported filter expression."
Sep 29 2017 02:46 AM
I get the exact same error message have you found a solution to this problem?
cheers
Mar 28 2020 10:52 AM
Mar 28 2020 11:50 AM