You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After deploying IntuneAntivirusPolicyWindows10SettingCatalog I was able to change some settings and confirm with Test-DSCConfiguration that it was in desired state, however trying to remove it by changing Ensure to "Absent" it removes the policy but then the test fails and stays in non-desired state.
It gets worse in that if I change Ensure back to "Present" and re-deploy the policy it will create it, but if I try once again with Ensure set to "Absent" this time it doesn't even remove the policy, but gives error message below and the only way to remove it this time is manually going to the Intune portal and remove it there or through the CLI using msgraph sdk.
The Graph issue seems to have been some service problem in my tenant since it's not giving me that any longer and I have a fix to pass the test after the resource is deleted, will send out a PR shortly.
Description of the issue
After deploying IntuneAntivirusPolicyWindows10SettingCatalog I was able to change some settings and confirm with Test-DSCConfiguration that it was in desired state, however trying to remove it by changing Ensure to "Absent" it removes the policy but then the test fails and stays in non-desired state.
It gets worse in that if I change Ensure back to "Present" and re-deploy the policy it will create it, but if I try once again with Ensure set to "Absent" this time it doesn't even remove the policy, but gives error message below and the only way to remove it this time is manually going to the Intune portal and remove it there or through the CLI using msgraph sdk.
Microsoft 365 DSC Version
1.23.1122.1
Which workloads are affected
other
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: