msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

Get-MgBetaDeviceManagementManagedDevice not showing RoleScopeTagIds

Open GaryRaine opened this issue 7 months ago • 0 comments

Describe the bug

in ver 2.26.1 Get-MgBetaDeviceManagementManagedDevice does not show RoleScopeTagIds These are available via the REST API: $device = Invoke-MgGraphRequest -Uri "https://graph.microsoft.com/beta/deviceManagement/managedDevices('$id')" -Method GET $scopeTags = $device.RoleScopeTagIds

Expected behavior

I expected to see the Scope Tag IDs

How to reproduce

$device = Get-MgBetaDeviceManagementManagedDevice -filter "deviceName eq 'deviceName'" $device.RoleScopeTagIds

SDK Version

2.26.1

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

GaryRaine avatar Apr 02 '25 15:04 GaryRaine