Skip to content

Get-MgBetaDeviceManagementManagedDevice not showing RoleScopeTagIds #3253

@GaryRaine

Description

@GaryRaine

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_

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions