I have a 3 part policy.
(Script Set as Before) Part 1 rename the mac to username-last4serial#
Part 2 Bind to AD with the Build in Directory binding JAMF policy
(Script Set as After) Part 3 creates a mobile account.
The issue I have is it binds the Mac with the old name instead of the name I did in step 1.
I even added sudo jamf recon to the end of script 1 to see if that would do it.
Ideas