I am searching for an object with a display name. MS graph throws an exception if it contains & or # withing the search string. Is there a way around this??
https://graph.microsoft.com/XXXXXXXXXXXXXXXXXXXXXXXXXXXX?$filter=displayName eq 'application # manager'
You need to URL encoding the '#' in the request.
For example below request will help you in querying 'application # manager',
https://graph.microsoft.com/v1.0/users?$filter=displayName eq 'application%20%23%20manager'
For more details look in to Output in my environment below:-
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With