0
votes

I am trying to access MS Graph API for updating user details. I am using below but the filter criteria doesn't seem to work PATCH https://graph.microsoft.com/v1.0/users?$filter=eq(extension_ce64b1571f694b84aeef256f85b7f49c_custom 'ABCD')

I am getting below error. { "error": { "code": "BadRequest", "message": "Invalid filter clause", "innerError": { "date": "2020-08-18T18:28:26", "request-id": "5bbdc288-02b5-4b80-9ef4-707c12b7af47" } } }

Updating by objectid is not an option and we need to use the custom attribute.

Please help.

1
Filter is wrongSruthi J
Can you please share the right filter. This is for update request.Sushmita Das

1 Answers

1
votes

The filter syntax in your request is incorrect. Please try below request which will fix your issue,

https://graph.microsoft.com/beta/users?$filter=(extension_f03e52a0a21349eebc055bbd0c920c0d_FavouriteSeason eq 'summer')