I don't have any experience with this, but can you just write a script to use the Jamf binary to re-enroll with the new instance?
Something along the lines of :
#!/bin/sh
#remove current Profiles JIC?
jamf removeMdmProfile
#create the conf file wotj the new URL
jamf createConf -url "https://you.url.here:8443" #-verifySSLCert (?)
#download the cert to trust
jamf trustJSS
#make sure to enroll with a static invitation ID
jamf enroll -invitation "[your_super_long_invitation_id_goes_here]"
#force the profiles to download again, but users will still need to accept
jamf manage
I've not tested this and you might need to play with some of these flags plus the user still needs to click approve to get most of the profiles but it might be worth a shot.
[Edit]: As a thought you could also add a line to make them open Profiles and click approve:
currentUser=$( scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ && ! /loginwindow/ { print $3 }' )
sudo -h $currentUser open /System/Library/PreferencePanes/Profiles.prefPane
@taz231190 Ask your Jamf Buddy about the ReEnroller tool which was built to migrate Macs from one JSS to another. It may only be available to customers with support contracts though. And it still requires uses to approve the MDM Profile when the configuration for the new JSS is installed.
@taz231190
+1 for ReEnroller. I've migrated well over 2500 machines from different Jamf instance to a central Jamf instance (two internal instances) and it works wonderfully.
Another +1 for ReEnroller.
Note it does need a script to call the API on the JSS you are leaving to hit the UnmanageDevice
endpoint before the ReEnroller package is run. This is in the docs and the script included, I just figured I would add in that we found it was required.
We silently rolled out umad a few weeks before we started migrating computers. This didn't do any until right after the ReEnroller did it's job and UAMDM became broken and the MDM profile needed approval. Umad then brought up a nice screen explaining what has happened and what the user next needed to do including a button to press to open directly into the Profiles section of Preferences.
Another option might be to send out an email with a link to a Self Service item. Self service will direct people to click on Approve too if they haven't already done so.
Good luck with your migration.