Copying Intune config profile fails
ConfigConfused opened this issue · 0 comments
When copying an Intune device configuration profile of "Windows 10 and later" "Device restrictions" type with command:
Get-IntuneDeviceConfigurationPolicy -Filter "displayName eq 'Profile'" | New-IntuneDeviceConfigurationPolicy -displayName "NewProfile"
Results in error:
New-IntuneDeviceConfigurationPolicy : 400 Bad Request
{"error":{"code":"ModelValidationFailure","message":"The property 'wifiBlocked' does not exist on type
'microsoft.management.services.api.windows10GeneralConfiguration'. Make sure to only use property names that are
defined by the type.","innerError":{"message":"The property 'wifiBlocked' does not exist on type
'microsoft.management.services.api.windows10GeneralConfiguration'. Make sure to only use property names that are
defined by the type.
Other device profile types work as expected.