jamf / JamfMigrator

A tool to migrate data granularly between Jamf Pro servers
MIT License
143 stars 10 forks source link

`computer` migrate does not respect management status #63

Closed Honestpuck closed 3 years ago

Honestpuck commented 3 years ago

When migrating computer records the <remote_management> key is not respected. It should look like:

computer>
    <general>
        <remote_management>
            <managed>true</managed>
            <management_username>managementAccountName</management_username>
            <management_password>YourPassword</management_password>
           <management_password_sha256/>
        </remote_management>
    </general>
</computer>

This involves removing or setting to "" the key <management_password_sha256> as well as adding the <management_password> key and giving it a value so that it matches the above.

Honestpuck commented 3 years ago

If you come across this problem I've written a Python script that fixes the management status. It's at https://github.com/Honestpuck/computerize

BIG-RAT commented 3 years ago

Are you migrating the computer as managed? Preferences --> computer manage

Honestpuck commented 3 years ago

Well, I'm a nong. That will fix it.