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
The Windows 10 MDM Policies for AppLocker, Internet Explorer and Chrome do not import as the JSON in the policies is incorrectly formatted. The files are missing the Windows 10 Custom Configuration parent for the OMA settings and therefore fail to import with the error:
Response content:
{"error":{"code":"ModelValidationFailure","message":"Cannot create an abstract class.","innerError":{"message":"Cannot create an abstract class.","date":"2021-06-30T10:55:32","request-id":"2aff32fb-02a0-40cb-831f-3964852057cd","client-request-id":"2aff32fb-02a0-40cb-831f-3964852057cd"}}}
Add-DeviceConfigurationPolicy : Request to https://graph.microsoft.com/v1.0/deviceManagement/deviceConfigurations
failed with HTTP Status BadRequest Bad Request
At C:\Users\SomeUser\SomePath
\Intune\DeviceConfiguration_Import_FromJSON.ps1:343 char:1
The Windows 10 MDM Policies for AppLocker, Internet Explorer and Chrome do not import as the JSON in the policies is incorrectly formatted. The files are missing the Windows 10 Custom Configuration parent for the OMA settings and therefore fail to import with the error:
Response content:
{"error":{"code":"ModelValidationFailure","message":"Cannot create an abstract class.","innerError":{"message":"Cannot create an abstract class.","date":"2021-06-30T10:55:32","request-id":"2aff32fb-02a0-40cb-831f-3964852057cd","client-request-id":"2aff32fb-02a0-40cb-831f-3964852057cd"}}}
Add-DeviceConfigurationPolicy : Request to https://graph.microsoft.com/v1.0/deviceManagement/deviceConfigurations
failed with HTTP Status BadRequest Bad Request
At C:\Users\SomeUser\SomePath
\Intune\DeviceConfiguration_Import_FromJSON.ps1:343 char:1
The JSON should follow the guidance in https://docs.microsoft.com/en-us/graph/api/intune-deviceconfig-windows10customconfiguration-create?view=graph-rest-1.0.
The text was updated successfully, but these errors were encountered: