Reputation: 1913
I Am wondering if i can use the Azure Active Directory Graph Api to retrieve information about the user and the specific users devices and device information?
I managed to get som information by doing :
in Fiddler, and also pasting in a Authorization Bearer token in the header. i get some general information but not anything about the devices assigned to the user or the devices id.
Any suggestions?
Upvotes: 0
Views: 2477
Reputation: 58733
You can get a user's owned devices through:
https://graph.windows.net/f2f535e0-294f-4704-befc-8ce754f10bd7/users/9da7eaba-78bf-4b54-844a-7918d40a6005/ownedDevices?api-version=1.6
The ownedDevices
navigation property on the User returns you the devices owned by the user.
You can find information on all properties and navigation properties here: https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#user-entity.
Upvotes: 1