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
I created a policy manually in Intune admin portal, I then proceeded to export it without issues, after that I compiled the blueprint and changed the MOF to delete the policy which it does but trying to re-create the policy results in the following error message:
[[IntuneAttackSurfaceReductionRulesPolicyWindows10ConfigManager]IntuneAttackSurfaceReductionRulesPolicyWindows10ConfigManager-IntuneAttackSurfaceReductionRulesPolicyWindows10ConfigManager_1] Creating new
Endpoint Protection Policy {IntuneAttackSurfaceReductionRulesPolicyWindows10ConfigManager_1}
A hash table can only be added to another hash table.
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : AddHashTableToNonHashTable
+ PSComputerName : localhost
[] : The request is invalid.
+ CategoryInfo : InvalidOperation: ({ body = Micros...urationPolicy }:) [], CimException
+ FullyQualifiedErrorId : Microsoft.Graph.Beta.PowerShell.Cmdlets.NewMgBetaDeviceManagementConfigurationPolicy_Create
+ PSComputerName : localhost
Description of the issue
I created a policy manually in Intune admin portal, I then proceeded to export it without issues, after that I compiled the blueprint and changed the MOF to delete the policy which it does but trying to re-create the policy results in the following error message:
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: