Mar 02 2019 04:40 PM
Has anyone tried setting YouTubeRestricted mode in Intune? I have ingested the Google Chrome admx template and I am successfully setting safe search and extension whitelist and blacklists but I cannot figure out the correct syntax for forcing YouTubeRestricted mode, has anyone attempted this?
Mar 04 2019 04:29 AM
Can you post your OMA-URIs so we can verify?
Mar 04 2019 09:19 AM
So I will post a OMA-URL that i know is working, because its in my policy now.
./Device/Vendor/MSFT/Policy/Config/Chrome~Policy~googlechrome/ForceGoogleSafeSearch
<enabled/>
I have tried.
./Device/Vendor/MSFT/Policy/Config/Chrome~Policy~googlechrome/YouTubeRestricted
<enabled/>
and that broke the policy
and then I tried.
./Device/Vendor/MSFT/Policy/Config/Chrome~Policy~googlechrome/YouTubeRestricted
<enabled/> <data id="YouTubeRestricted_Strict" value="2"/>
But that broke as well, so I am not sure I have the syntax anywhere close. Google does have a sheet with known OMA-URI's for managing chrome, but youtube restricted mode is not one of them. We are a K12 school district so its pretty important for us to be able to set that.
Mar 06 2019 12:19 AM
SolutionHi adamedtech,
I've implemented the setting in my lab, here is how it works:
OMA-URI: ./Vendor/MSFT/Policy/Config/Chrome~Policy~googlechrome/ForceYouTubeRestrict
Type: String
Value: <enabled/><data id="ForceYouTubeRestrict" value="2"/>
best,
Oliver
Mar 06 2019 03:24 AM
Thanks Oliver,
I have implemented this setting and I will see if it works.
Mar 06 2019 08:23 AM
Oliver's suggestion is correct. I was able to successfully deploy this OMA-URI
Thanks!
Aug 14 2019 04:55 AM - edited Aug 14 2019 04:57 AM
@Oliver Kieselbach How do you figure out the settings? Are you going to the registry and mapping what they should be or something else? I'm trying to allow popups for a particular site in Chrome using ADMX but seems like I just need to trial and error until it succeeds.
Tried these so far and none work:
Aug 14 2019 06:56 AM - edited Aug 14 2019 06:59 AM
Hey @illnasty,
this is how it works in my tenant:
OMA-URI:
./Vendor/MSFT/Policy/Config/Chrome~Policy~googlechrome~ContentSettings/PopupsAllowedForUrls
Value:
URL Delimiter URL
so the URL to whitelist added twice and then the next URL.
I use this guide to construct the value and oma-uri: https://docs.microsoft.com/en-us/windows/client-management/mdm/understanding-admx-backed-policies
best,
Oliver
Aug 14 2019 07:32 AM - edited Aug 14 2019 07:54 AM
@Oliver Kieselbach of course your suggestion worked.
May have spoke to soon. Policy is being pushed down successfully which is good but the Value in Chrome is blank.
Aug 14 2019 09:03 AM - edited Aug 14 2019 09:04 AM
@illnasty @Oliver Kieselbach Got it. Needed to be delimiterURL. Thanks Oliver!
Aug 15 2019 01:59 AM
@illnasty correct, I tried to explain this fact by writing the sentence below (not that obvious I know :-)):
[...]
URL Delimiter URL
so the URL to whitelist added twice and then the next URL
[...]
I'm glad that it works for you! :thumbs_up:
Feb 16 2021 02:08 PM
For the general public; here is a working OMA-URI to allow popups from just one site:
./Vendor/MSFT/Policy/Config/Chrome~Policy~googlechrome~ContentSettings/PopupsAllowedForUrls
<enabled/><data id="PopupsAllowedForUrlsDesc" value="1http://example.com"/>
Jul 29 2021 09:03 AM - edited Jul 29 2021 09:04 AM
what if i wanted to add multiple sites. i haven't been able to find anything really concrete when it comes to adding multi. i tried this, but i wasn't getting any data listed in the policies.
./Vendor/MSFT/Policy/Config/Chrome~Policy~googlechrome~ContentSettings/PopupsAllowedForUrls
<enabled/><data id="PopupsAllowedForUrlsDesc" value="1[*.]google.com2[*.]yahoo.com3[*.]facebook.com"/>
Jul 29 2021 09:24 AM
Jul 29 2021 09:47 AM
@Oliver Kieselbach so, like this?
./Vendor/MSFT/Policy/Config/Chrome~Policy~googlechrome~ContentSettings/PopupsAllowedForUrls
<enabled/><data id="PopupsAllowedForUrlsDesc" value="
[*.]google.com[*.]google.com
[*.]yahoo.com[*.]yahoo.com
[*.]facebook.com[*.]facebook.com
"/>
Jul 30 2021 06:35 AM
Jul 30 2021 06:49 AM
@Oliver Kieselbach if it is working, nothing is showing up in the values section.
Jul 30 2021 07:31 AM
@Oliver Kieselbach, i finally got it to work. Here is what i did to get it to work for me.
<enabled/><data id="PopupsAllowedForUrlsDesc" value="1[*.]google.com2[*.]yahoo.com"/>
Jul 30 2021 07:46 AM
Mar 06 2019 12:19 AM
SolutionHi adamedtech,
I've implemented the setting in my lab, here is how it works:
OMA-URI: ./Vendor/MSFT/Policy/Config/Chrome~Policy~googlechrome/ForceYouTubeRestrict
Type: String
Value: <enabled/><data id="ForceYouTubeRestrict" value="2"/>
best,
Oliver