Skip to content
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

IntuneDeviceCompliancePolicyAndroidDeviceOwner - actions for non-compliance are ignored. #5593

Open
dannyKBjj opened this issue Dec 20, 2024 · 1 comment

Comments

@dannyKBjj
Copy link
Contributor

Description of the issue

Different module, but same problem as issue #5592, actions for non-compliance are not handled by the resource

Unable to find the graph uri or a cmd-let that pulls out this data (so far).

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

@dannyKBjj
Copy link
Contributor Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant