Calling "/v1.0/places/microsoft.graph.room/" and "/v1.0/users/" returns two different sources

Edward Campbell 1 Reputation point
2022-01-19T11:21:34.257+00:00

When I call https://graph.microsoft.com/v1.0/users/?$select=displayName, givenName, surname, id, mail, officeLocation, userType, userPrincipalName, isResourceAccount, type, calendar
I get the exact same users, rooms and equipment that is displayed in 365 Admin Center. If I delete an entity in the Admin Center, it is no longer returned in the API call.

However, when I call https://graph.microsoft.com/v1.0/places/microsoft.graph.room/
I get a completely different list of entities (by the look of the names, the entities have been added earlier by another developer).

No matter what I add or delete, either through powershell or the Admin Central, the changes are reflected in the first API call (/users/) but not in the latter (/places/).

Do anyone know what I'm missing here?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,521 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sheena-MSFT 1,721 Reputation points
    2022-01-19T14:41:51.953+00:00

    Hi @Edward Campbell ,

    By using this Graph API endpoint https://graph.microsoft.com/v1.0/places/microsoft.graph.room/ we can only fetch all the rooms in the tenant as mentioned here and if we are making any changes to this room resource (updation,deletion) operations, typically it will 4 to 24 hours to reflect the changes via Places Graph API endpoint.

    You can exclusively find this rooms in Exchange online admin center under Recipients->Resources
    166385-roomadmin.png
    Hope this helps.

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

    1 person found this answer helpful.