SecondSonConsulting / Baseline

An MDM agnostic zero touch solution for macOS
MIT License
192 stars 22 forks source link

Add guidance for using Baseline with WorkspaceONE #15

Closed denmoff closed 9 months ago

denmoff commented 1 year ago

To use Baseline at enrollment, upload the Baseline package or repackage and sign your own custom package using your favorite packaging editor. Then select "Expedited Delivery" when choosing which type of App. Assign it to the correct Device Organization Group associated with the Device Enrollment Program enrollment profile. Be sure to select "Automatic Delivery".

To deploy a mobile config profile, use the "Custom Settings" section of the profile. Below is an example of how that should be formatted:

<dict>
    <key>PayloadDisplayName</key>
    <string>Baseline</string>
    <key>PayloadIdentifier</key>
    <string>com.secondsonconsulting.baseline.D031FEC3-06B0-497A-BC0A-5D24AE8E91AD</string>
    <key>PayloadType</key>
    <string>com.secondsonconsulting.baseline</string>
    <key>PayloadUUID</key>
    <string>F46B02DA-FF67-481D-B39C-485F8CC9E39B</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
    <key>DialogListOptions</key>
    <string>--title "Your Mac is being configured" --message "This process can take up-to 30 minutes depending on your network speed. Please wait for it to complete." --overlayicon "/System/Applications/System Settings.app"</string>
    <key>DialogSuccessOptions</key>
    <string>--title "Your computer setup is complete" --message ""</string>
    <key>DialogFailureOptions</key>
    <string>--title "Your computer setup is complete" --message "Your computer setup is complete, however not everything was installed as expected. Review the list below, and contact IT for assistance." --icon "SF=desktopcomputer.trianglebadge.exclamationmark,color=red"</string>
    <key>InitialScripts</key>
    <array>
        <dict>
            <key>Arguments</key>
            <string>--fdsa</string>
            <key>DisplayName</key>
            <string>Initial Example Script</string>
            <key>MD5</key>
            <string>e567257026d6032dd232df75fd3ba500</string>
            <key>ScriptPath</key>
            <string>ExampleScript.sh</string>
        </dict>
    </array>
    <key>Installomator</key>
    <array>
        <dict>
            <key>DisplayName</key>
            <string>Google Chrome</string>
            <key>Label</key>
            <string>googlechromepkg</string>
        </dict>
    </array>
    <key>Packages</key>
    <array>
        <dict>
            <key>DisplayName</key>
            <string>Example Package</string>
            <key>PackagePath</key>
            <string>ExamplePKG.pkg</string>
            <key>TeamID</key>
            <string>7Q6XP5698G</string>
        </dict>
    </array>
    <key>Scripts</key>
    <array>
        <dict>
            <key>Arguments</key>
            <string>--asdf</string>
            <key>DisplayName</key>
            <string>Example Script</string>
            <key>MD5</key>
            <string>e567257026d6032dd232df75fd3ba500</string>
            <key>ScriptPath</key>
            <string>ExampleScript.sh</string>
        </dict>
    </array>
    <key>Restart</key>
    <false/>
</dict>
BigMacAdmin commented 9 months ago

Thank you again for this contribution, and I'm sorry it took so long to get it included in the wiki.