-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IntuneDeviceCompliancePolicyAndroidWorkProfile does not export/manage all configuration items. #5592
Comments
unable to assign to self, but need this functionality so creating a branch to fix it. |
dannyKBjj
added a commit
to dannyKBjj/Microsoft365DSC
that referenced
this issue
Jan 16, 2025
…ntuneDeviceCompliancePolicyAndroidWorkProfile * IntuneDeviceCompliancePolicyAndroidDeviceOwner * Added missing properties for androidForWorkCompliancePolicy resource type: https://learn.microsoft.com/en-us/graph/api/resources/intune-deviceconfig-androiddeviceownercompliancepolicy?view=graph-rest-beta. * Non-compliance actions now supported for Export- Test- Get- * Non-compliance actions now supported for Set- when creating a policy, but not when updating a policy. Update can't be supported due to MgGraph bug. FIXES [microsoft#5593](microsoft#5593) * IntuneDeviceCompliancePolicyAndroidWorkProfile * Added missing properties for androidForWorkCompliancePolicy resource type: https://learn.microsoft.com/en-us/graph/api/resources/intune-deviceconfig-androidforworkcompliancepolicy?view=graph-rest-beta. * Non-compliance actions now supported for Export- Test- Get- * Non-compliance actions now supported for Set- when creating a policy, but not when updating a policy. Update can't be supported due to MgGraph bug. FIXES [microsoft#5592](microsoft#5592) Graph issue with Update- / PATCH microsoftgraph/msgraph-sdk-powershell#2177 microsoftgraph/msgraph-metadata#245
dannyKBjj
added a commit
to dannyKBjj/Microsoft365DSC
that referenced
this issue
Jan 16, 2025
…DeviceCompliancePolicyAndroidWorkProfile * IntuneDeviceCompliancePolicyAndroidDeviceOwner * Added missing properties for androidForWorkCompliancePolicy resource type: https://learn.microsoft.com/en-us/graph/api/resources/intune-deviceconfig-androiddeviceownercompliancepolicy?view=graph-rest-beta. * Non-compliance actions now supported for Export- Test- Get- * Non-compliance actions now supported for Set- when creating a policy, but not when updating a policy. Update can't be supported due to MgGraph bug. FIXES [microsoft#5593](microsoft#5593) * IntuneDeviceCompliancePolicyAndroidWorkProfile * Added missing properties for androidForWorkCompliancePolicy resource type: https://learn.microsoft.com/en-us/graph/api/resources/intune-deviceconfig-androidforworkcompliancepolicy?view=graph-rest-beta. * Non-compliance actions now supported for Export- Test- Get- * Non-compliance actions now supported for Set- when creating a policy, but not when updating a policy. Update can't be supported due to MgGraph bug. FIXES [microsoft#5592](microsoft#5592) MgGraph issues: microsoftgraph/msgraph-sdk-powershell#2177 microsoftgraph/msgraph-metadata#245
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the issue
Noticed that actions for non-compliance are not getting exported.
On further investigation the following properties returned from do not appear in the module.
requiredPasswordComplexity
securityBlockDeviceAdministratorManagedDevices
restrictedApps
workProfilePasswordRequiredType
workProfileRequiredPasswordComplexity
workProfileRequirePassword
passcodeBlockSimple
passcodeRequiredType
passcodeRequired
managedEmailProfileRequired
Although none of these seem to hold the non-compliance data. That's presumably a different graph work-load, although so far I am unable to find the correct one.
Microsoft 365 DSC Version
1.24.1211.1
Which workloads are affected
Intune
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: