List All Compliance Policies
Retrieve a list of all compliance policies configured in Intune. Use Connect-MSGraph to authenticate and ensure you have the required permissions to manage Intune resources.
Get-DeviceCompliancePolicy | Select-Object DisplayName, Platform, CreatedDateTime, LastModifiedDateTime