Ploy Desktop via Kandji (Iru) on Mac
Deploy Ploy Desktop to Macs with Kandji (now Iru): a custom profile sets your company's details, and a custom script installs Ploy Desktop and keeps it up to date.
Before you begin: you'll need admin access to Kandji and your Ploy subdomain.
What you need
Macs on macOS 14.4 or later, enrolled in Kandji
The configuration profile from Step 1 of Deploy Ploy Desktop with your MDM on Mac, with your subdomain in it
The install and update script from Step 2 of the same guide
Step 1 – Add the configuration profile
Do this before the script, so the app finds your company's details the first time it opens.
In Kandji, go to Library and click Add new.
Choose Custom Profile.
Name it
Ploy Desktop settingsand upload yourploy-desktop.mobileconfig.Assign it to a test Blueprint.
Click Save.
Step 2 – Install and update Ploy Desktop with a custom script
In Library, click Add new and choose Custom Script.
Name it
Ploy Desktop install and update.Set Execution Frequency to Run daily.
Paste the script into the Script box, exactly as it is. Leave Remediation Script off.
Assign it to the same test Blueprint.
Click Save.
Kandji runs custom scripts as root. The first run on each Mac prints installed: none, latest: and the version, then updated to and the version. Later runs say up to date until a new version comes out. If something goes wrong, the last line starts with error: and says why. You'll find the output in the device's Status tab.
Prefer a Custom App? You can upload Ploy_<version>.pkg as a Custom App instead (download links are in Deploy Ploy Desktop with your MDM on Mac). Then you'll need to upload each new version yourself, so keep the script running for updates.
Step 3 – Turn on device inventory
In your Ploy dashboard, go to Settings → Desktop App and turn on Device inventory. It's off by default. With it off, Ploy Desktop works but doesn't report the Mac's apps.
Step 4 – Check on a test Mac
In Terminal, run
sudo defaults read "/Library/Managed Preferences/com.joinploy.desktop". It should print your subdomain.The Ploy mark is in the menu bar. Click it: it goes straight to your company's sign-in, without asking for a subdomain.
Once someone has signed in, the Mac's apps appear in Ploy within about 15 minutes.
Once it works on your test Blueprint, add the profile and the script to the rest of your Blueprints.
Optional extras
Browser extensions in device inventory need Full Disk Access. Add a Privacy Library item with the values in Deploy Ploy Desktop with your MDM on Mac, and read the note there first.
macOS's "Background item added" notice can be pre-approved with a login and background items Library item, with a rule of type Label and the value
com.joinploy.desktop.
Deploy Ploy Desktop with your MDM on Mac also covers troubleshooting and removing Ploy Desktop.