Deploy with Mosyle
Use Mosyle to deploy the Willow Scan Agent package and managed configuration profile to macOS devices.
Prerequisites
- Mosyle admin access with permission to manage apps, profiles, device groups, and assignments.
- A pilot group of managed Mac devices.
- The macOS
.pkginstaller and.mobileconfigprofile from the Willow AI Discovery setup flow.
Minimum requirements
| Component | Minimum requirement |
|---|---|
| Mosyle software | Mosyle with macOS app installation and patching features. Mosyle documents app install and patch management for macOS in macOS App Install & Patching. |
| Target OS | Managed macOS devices. This guide does not apply to Windows or Linux devices. |
| Willow files | The macOS .pkg installer and .mobileconfig profile from Willow. |
| Device state | Target Macs must be enrolled in Mosyle and assigned to the group or scope used for rollout. |
Willow does not publish a separate minimum Mosyle version. Use a currently supported Mosyle release that can deploy macOS packages and custom configuration profiles.
Expected outcome
Target Macs receive the Willow managed configuration profile, install the Scan Agent package, and appear in AI Discovery after the next scan interval.
For browser-based AI visibility, deploy Willow Guard through a managed Chrome policy separately from the Scan Agent package. See Deploy Willow Guard Browser Extension.
Add the configuration profile
- In Mosyle, create or upload a custom macOS configuration profile.
- Upload the Willow
.mobileconfigfile. - Name the profile clearly, such as
Willow Scan Agent Configuration. - Assign the profile to your pilot Mac group.
- Save and publish the profile.
Add the package
- In Mosyle, create a macOS app or package deployment item.
- Upload the Willow
.pkginstaller. - Name the item clearly, such as
Willow Scan Agent. - Assign it to the same pilot group as the configuration profile.
- Save and deploy the package.
Deploy the configuration profile before or with the package. If the package installs before the profile reaches the Mac, restart the agent after the profile arrives.
Verify on a Mac
Run these commands on a scoped test Mac:
sudo profiles list -type configuration | grep -i willow
sudo launchctl print system/com.mcp-s-scan.agent
tail -n 50 /var/log/mcp-s-scan/agent-error.log
Then open AI Discovery in Willow and confirm the device appears with a recent last scan time.
Expand rollout
After the pilot group reports successfully:
- Expand the configuration profile assignment.
- Expand the package assignment.
- Monitor Mosyle deployment status and Willow AI Discovery device counts.
Roll back
To remove the agent from a Mac, deploy this command through Mosyle:
sudo /usr/local/bin/mcp-s-scan-uninstall.sh
Remove the configuration profile from the same scope if the device should stop reporting to Willow.