You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Workspace derived type is missing for Place (beta only) (Get-MgPlaceAsRoom don't retrieve resources of type "Workspace") #470
When i try to use the cmdlet Get-MgPlaceAsRoom, are retrieved only the resources of type "room".
But i have in the Exchange both resources of type "room" and "workspace".
On the other hand, when i use the cmdlet Get-MGUserMailboxSetting, both the resources of type "room" and "workspace" have the property UserPurpose set to "room".
I've transferred the issue to the metadata repo for visibility.
<EntitySetName="places"EntityType="microsoft.graph.place">
<AnnotationTerm="Org.OData.Validation.V1.DerivedTypeConstraint"xmlns:edm="http://docs.oasis-open.org/odata/ns/edm">
<Collection>
<String>microsoft.graph.room</String>
<String>microsoft.graph.roomList</String>
<String>microsoft.graph.workspace</String> <!-- This is currently missing in beta -->
</Collection>
</Annotation>
</EntitySet>
changed the title [-]Get-MgPlaceAsRoom don't retrieve resources of type "Workspace"[/-][+]Workspace derived type is missing for Place (beta only) (Get-MgPlaceAsRoom don't retrieve resources of type "Workspace")[/+]on Oct 20, 2023
Activity
[-]List Places[/-][+]Get-MgPlaceAsRoom don't retrieve resources of type "Workspace"[/+]peombwa commentedon Oct 20, 2023
Thanks for following up on this.
Workspace derived type is missing in the service metadata for
placeentity in beta.As a workaround, you can use
Invoke-MgGraphRequest -Uri "https://graph.microsoft.com/beta/places/microsoft.graph.workspace"to retrieve the resources. See API reference doc for more details - https://learn.microsoft.com/en-us/graph/api/place-list?view=graph-rest-beta&tabs=http#example-2-list-all-the-workspaces-defined-in-the-tenant.I've transferred the issue to the metadata repo for visibility.
[-]Get-MgPlaceAsRoom don't retrieve resources of type "Workspace"[/-][+]Workspace derived type is missing for Place (beta only) (Get-MgPlaceAsRoom don't retrieve resources of type "Workspace")[/+]