Skip to main content

Migrate Mosyle-managed Mac machines to Swif

Move Macs from Mosyle to Swif without erasing them. You use Mosyle to install Swif's macOS silent installer, then release the Macs from MDM in Mosyle. Swif then takes over.

For how migrations work with any MDM, see Migrate Macs from Another MDM to Swif.


Before you start

  • Keep Mosyle as the MDM until the Swif installer is on all your Macs. Use it to deploy the Swif package.

  • Download the latest macOS silent installer from Swif. See Deploying Swif Silently on Mac/macOS Machines. Download a new copy for each migration, rather than reusing an old one.

  • Check that the Macs are online, and checking in to Mosyle.

  • Each Mac needs a user who's a local administrator, to approve the Swif profile.

You don't need Mosyle's removal key. The Swif agent removes Mosyle's MDM profile itself, when macOS allows it. When it doesn't, releasing the Mac from MDM in Mosyle removes it.


Step 1: Deploy the Swif silent installer with Mosyle

  1. In Mosyle, go to Management > Management Profiles > Install PKG.

  2. Open the PKGs section, upload the Swif .pkg, and click ALREADY HAVE A .PKG.

  3. When the upload finishes, go to the PROFILE tab, and create a profile with these settings. Create or select a Device Group, and assign it to the profile, so only the Macs you choose receive the install.

  4. Save the profile. Mosyle installs the package on the Macs in the group.

  5. Test on one Mac first. Check that the Mac appears in Swif. Then add the rest of your Macs to the device group.

If Mosyle's MDM profile can be removed, the Swif agent removes it, and opens the Swif profile in System Settings > General > Device Management. The user clicks Install, and enters their password.


Step 2: Release the Macs from MDM in Mosyle

Once the installer is on all your Macs, release them from MDM in Mosyle.

Release the Macs only after the installer is on them. Once a Mac is released, Mosyle can't install anything on it.

This step is required for Macs where Mosyle's MDM profile can't be removed, or is locked with a removal password. Nothing on the Mac can remove these profiles. To find these Macs, run the check script in Migrate Macs from Another MDM to Swif.

After you release a Mac, the Swif agent opens the Swif profile at its next check. The user clicks Install, and enters their password.

Don't release the Macs in Apple Business Manager. That removes them from your organization. If your Macs were enrolled with Automated Device Enrollment, change their MDM server to Swif in Apple Business Manager instead.


Step 3: Check the migration

  • The Mac appears in Swif.

  • Only Swif's MDM profile is installed. Check in System Settings > General > Device Management, or run sudo /usr/bin/profiles list in Terminal.

Mosyle's apps and agent aren't removed by Swif. Uninstall them separately.


Troubleshooting

The Swif profile never appears

  • Check that the Mac appears in Swif. If it doesn't, download the silent installer again, and deploy it again.

  • Release the Mac from MDM in Mosyle. Mosyle's profile may not be removable on that Mac.

The user sees "Profile installation failed"

Mosyle's MDM profile is still installed. Release the Mac from MDM in Mosyle. The Swif agent then opens the Swif profile again.

Installation fails with a DioException (400 Bad Response) error


Related resources

Did this answer your question?