Dynamics CRM Online 2016 Web API - Get user by Auzure AD Object ID -
is possible user object dynamics crm online 2016 web api users objectid azuread.
i able user windowsliveid
(as in example below) cannot find guid user shared between azure ad , crm online.
/api/data/v8.1/systemusers?$filter=windowsliveid eq 'user.name@contoso.com'
maybe isn't possible?
you looking azureactivedirectoryobjectid
attribute of systemuser
entity. msdn reference
the below code should work.
/api/data/v8.1/systemusers?$filter=azureactivedirectoryobjectid eq guid
note: guid without single quotes
Comments
Post a Comment