Enable Finder Extensions in MDM Profile

JulianPleli
New Contributor

Hey guys,

for an MacOS App we want to provide a MDM to enable the use of the finder extension.

Currently the app still requires user actions in the setting. System Preferences --> Extensions --> Finder Extensions 

Currently the PayloadContent of my profile looks like:

 

 

<key>PayloadContent</key>
    <array>
        <dict>
            <key>AllowedExtensions</key>
            <array>
                <string>com.apple.FinderSync</string>
            </array>
            <key>PayloadIdentifier</key>
            <string>myApp.finderextension</string>
            <key>PayloadType</key>
            <string>com.apple.nsextension</string>
            <key>PayloadUUID</key>
            <string>9726bc46-1e51-466b-99e3-abcabcabcabc</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
        </dict>
    </array>

 

 

 I receive no errors, but the "finder extension" toggle is still deactivated.

I've tried also the example from: https://developer.apple.com/documentation/devicemanagement/systemextensions

2 REPLIES 2

M1keN
New Contributor

You need to use the pluginkit command

pluginkit -e use -i com.myapp.finderextension

 

To get a list of available extensions, use

 

pluginkit -m

 

 

https://joelsenders.wordpress.com/2019/03/19/controlling-finder-extensions/

shreyas_muniraj
New Contributor

Is there no way to achieve this using a configuration profile?