"namePattern": { "description": "Printernamehere", "type": "string" } },
The error "Expected string value"
in your policies.json
file suggests that there is a formatting issue with the "DefaultPrinterSelection"
entry. The structure of the policy might be incorrect.
DefaultPrinterSelection
The Google Chrome Enterprise policies documentation specifies that DefaultPrinterSelection
should be an array of objects, with each object containing a "namePattern"
key and a string value. Here's the correct structure:
Your original JSON appears to be incorrect because:
"DefaultPrinterSelection"
is missing."namePattern"
should be inside an array as part of DefaultPrinterSelection
."type": "string"
and "description"
keys are unnecessary in policies.json
.policies.json
entry with the correctly formatted JSON above.gpupdate /force
(if managed via Group Policy).