Forum Discussion
LewisTaylor
Sep 03, 2019Copper Contributor
Block Access To All Sites Except Whitelist Configuration Google Chrome In Intune
Due to the phasing out of the intune managed browser, we have deployed Google Chrome to our Corporate Owned Dedicated Devices. Within client apps - app configuration settings we can configure "Block a...
LewisTaylor
Sep 09, 2019Copper Contributor
Jörgen Nilsson thanks for your response, that's appreciated I have now got the block configured. However I am now trying to configure the whitelisted URLs, this is an example of my syntax.... ["https://contoso.com","https://microsoft.com*","https://office.com*"] Doesn't seem to be allowing these sites to whitelist but I think the problem is in my syntax
ProITadmin
Jul 24, 2024Copper Contributor
Unfortunately, there is not much documentation on the syntax for multiple URL's or string values.
I found that this syntax works for MS Edge app configuration policies:
"https://contoso.com,microsoft.com,office.com,http://google.com,yahoo.com,edge://flagsedge://flags"
You have to use the protocol type of URL (HTTPS or HTTP or CHROME or EDGE commands) and follow each domain with a comma for that specific protocol.
What I have found works on Google Chrome App config policy is to use an array instead of a string value:
{
"kind": "androidenterprise#managedConfiguration",
"productId": "app:com.android.chrome",
"managedProperty": [
{
"key": "URLBlocklist",
"valueString": "*"
},
{
"key": "URLAllowlist",
"valueStringArray": [
"https://YOURDOMAIN.com",
"play.google.com",
"microsoftonline.com",
"microsoft.com",
"http://YOURDOMAIN.com",
"chrome://policy"
]
}
]
}