Skip to content

Get-MgDeviceManagementDeviceCompliancePolicySettingStateSummary only reports Android settings, other OS missing #3715

Description

@MystiChronos

Describe the bug

Running both Get-MgDeviceManagementDeviceCompliancePolicySettingStateSummary and Get-MgBetaDeviceManagementDeviceCompliancePolicySettingStateSummary get's you only AndroidCompliancePolicy and AndroidDeviceOwnerCompliancePolicy summaries.

Windows, iOS / iPadOS, etc. settings are missing in the reports.

Expected behavior

The commandlet should return SettingStateSummaries for all OS types, not only Android.

How to reproduce

Simply authenticate to an Intune tenant with Connect-MgGraph and at least the 'DeviceManagementConfiguration.Read.All' scope.

Then run Get-MgDeviceManagementDeviceCompliancePolicySettingStateSummary -All or Get-MgBetaDeviceManagementDeviceCompliancePolicySettingStateSummary -All. You'll notice that you only get Android reports.

SDK Version

2.36.1 for normal, 2.39.0 for beta.

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

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions