I am trying to look up Azure user using the Immutable ID but it is not working. Looking up the Azure user manually, I can see that the immutable id is populated, (actual attribute name is 'immutableId'), and matching what I am trying to query.
Actually I have not been able to retrieve any users using any filter, for example: https://graph.windows.net/{tenant}/users?&api-version={version}?$filter=startswith(displayName,'{startofuid}')
Different test uris:
https://graph.windows.net/{tenant}/users?&api-version={version}?$filter=immutableId eq '{id}'
https://graph.windows.net/{tenant}/users?&api-version={version}?$filter=immutableId+eq+'{id}'
Normal resource lookup works:
https://graph.windows.net/{tenant}/users/{azureguid}?&api-version={version}
Any ideas what might be wrong?
https://graph.microsoft.com/v1.0/users?$filter=onPremisesImmutableId+eq+'{id}'
– Carl Zhao