Error restoring VPN Profile: Invoke-IntuneRestoreDeviceConfiguration - [Profile Name] - Failed to restore Device Configuration (Invoke-IntuneRestoreDeviceConfiguration : 400 Bad Request)
Opened this issue · 0 comments
gmarnold25 commented
Invoke-IntuneRestoreDeviceConfiguration : 400 Bad Request
{"error":{"code":"ModelValidationFailure","message":"An unexpected 'PrimitiveValue' node was found when reading from
the JSON reader. A 'StartArray' node was expected. Error found near:
ll,"persistent":null}],"@odata.type":"#microsoft.management.services.api.windows10VpnConfiguration"}
<---","innerError":{"message":"An unexpected 'PrimitiveValue' node was found when reading from the JSON reader. A
'StartArray' node was expected. Error found near:
ll,"persistent":null}],"@odata.type":"#microsoft.management.services.api.windows10VpnConfiguration"} <---","date"
:"2022-06-01T20:10:15","request-id":"[GUID]","client-request-id":"[GUID]"}}}
At line:1 char:1
- Invoke-IntuneRestoreDeviceConfiguration -Path $PATH
-
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-IntuneRestoreDeviceConfiguratio n