Force Install Chrome Extensions

sgiesbrecht
Contributor III

I need to force install a Chrome Extension.

I have looked in Jamf Nation for solution but latest ones were in 2017 and they currently do not work (from my testing).

Has anyone got them to work with Monterey?

2 ACCEPTED SOLUTIONS

sdagley
Esteemed Contributor

@sgiesbrecht You need a Configuration Profile with an Application & Custom Settings payload for the com.google.Chrome preference domain and a PLIST in the form:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
	<dict>
		<key>ExtensionInstallForcelist</key>
		<array>
			<string>EXTENSION IDENTIFIER GOES HERE</string>
		</array>
	</dict>
</plist>

View solution in original post

efil4xiN
Contributor

Here is the link to JAMF JSON  files

View solution in original post

6 REPLIES 6

sdagley
Esteemed Contributor

@sgiesbrecht You need a Configuration Profile with an Application & Custom Settings payload for the com.google.Chrome preference domain and a PLIST in the form:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
	<dict>
		<key>ExtensionInstallForcelist</key>
		<array>
			<string>EXTENSION IDENTIFIER GOES HERE</string>
		</array>
	</dict>
</plist>

I found my problem, I was naming the Preference Domain com.google.Chrome.<Extension name> not com.google.Chrome.

Now working,

Thx @sdagley 

efil4xiN
Contributor

As this is something I have to do monthly I highly recommenced using the Chrome JSON file to save time

gabester
Contributor III

Or... if you're a Google Workspace shop, enroll your Chrome browser and manage all its settings there.

Caveat being that I can more easily mass edit the XML or JSON of a group of extensions to be installed / allowed / denied in the Jamf Pro config profile editor than in Google Workspace... but that's usually a set once, occasionally modify one or two items type thing so you're still probably better off generally doing it through Workspace Admin.

sgiesbrecht
Contributor III

@efil4xiN not familiar with JSON,  can you send an example if possible and Steps to deploy

Client doesn't want to use Google Workspace @gabester so I'm stuck with the JSON 

Note, the above solution does work but will not install automatically, only through SS

efil4xiN
Contributor

Here is the link to JAMF JSON  files