I have about 35 Macs in a old Jamf cloud and will be moving them to a new Jamf cloud. I have access to both and wanted to see if I could write a script to unenroll them and then reenroll them info the new Jamf. Majority of them are not DEP only 3 are in DEP. I thought I could have a script remove the MDM profile and jamf framework. Then do a enrollment through the shell with a enrollment only account. Thoughts about if this will work or not.
Move from 1 Jamf to another
Best answer by stevewood
@kericson No, you would not want to remove them from the old Jamf first since you will use that old Jamf to install the QuickAdd.
- Create a QuickAdd package from your new Jamf instance.
- Upload the QuickAdd to your old Jamf instance.
- Create a policy in your old Jamf instance to install the QuickAdd and scope properly.
When the machine runs the policy and installs the QuickAdd, the Mac will now be pointing at your new instance.
There are two cautions (forgot to mention one of them in earlier post):
10.13.4 and above systems will NOT have user approved MDM (UAMDM) profiles so you will need to ask your users to approve the profiles after the computers have moved over to the new instance.
If you use ISE or any 802.1x profiles that are pushed from your old instance, you may not be able to do this. When you run the QuickAdd, the configuration profiles from your old Jamf instance will get removed, which basically drops the network connection for the Mac. When that happens your computers would not be able to communicate with the new Jamf and they would become unmanaged.
The second caution there can be mitigated, either with the tool that Jamf has that I mentioned, or by manually installing a configuration profile for 802.1x (ISE) before running the QuickAdd. However you would want to test that very thoroughly to make sure you do not interupt your users. And honestly, for 35 machines, unless they are spread across the country/globe, it would almost be easier to walk around and manually enroll them using Enrollment URLs.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
