question

Amty63-4318 avatar image
0 Votes"
Amty63-4318 asked CarlZhao-MSFT commented

Not getting information of registeredowners & registeredusers while using graph API

I am getting only IDs information not registeredOwners & registeredUsers details once executed in GraphExplorer /Azure LogicApps.

What's the reason ? Below is the URL, I am running :

URL : https://graph.microsoft.com/v1.0/devices?$select=id,registeredOwners,registeredUsers

microsoft-graph-groupsmicrosoft-graph-insights
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Did you refer to @ShivaniRai-MSFT-7217 answer above? Is it helpful to you? Comment here when you still need any help.

0 Votes 0 ·

1 Answer

ShivaniRai-MSFT-7217 avatar image
0 Votes"
ShivaniRai-MSFT-7217 answered CarlZhao-MSFT commented

Hi @Amty63-4318 ,

You can use $expand query parameter to get these properties. Please use below Graph API Endpoints:

 https://graph.microsoft.com/v1.0/devices?$expand=registeredOwners
 https://graph.microsoft.com/v1.0/devices?$expand=registeredUsers

Reference Document:
https://docs.microsoft.com/en-us/graph/api/device-list?view=graph-rest-1.0&tabs=http

Hope this helps.

If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Amty63-4318 Would you please provide us with an update on the status of your issue?

0 Votes 0 ·