Graph API - Get Devices room list

Omer Brookstein 1 Reputation point
2022-03-07T15:41:42.4+00:00

I've been reading the docs for querying devices (status, health, configuration, etc.).
I was wondering if it's possible to get the room (name, id) to which the device is associated to.
Thanks in advance!

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,627 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,446 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. 2022-03-09T05:23:24.853+00:00

    Hi @Omer Brookstein , Here is the query where you can fetch the name and id of the user you can get which is is associated with devices.
    device-list-registeredusers

    ----------

    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.