Hello All,
I don't know if I have found a bug or if I'm missing a step.
I can enforce a mobile device name from JSS and if the user renames the device the name is reset by JSS to its correct value as expected. Manually enforcing device names works correctly.
If I use the API to rename the same device the JSS shows the new name has been uploaded correctly and both the mobile device name changes and name of the device shown in the title. Everything looks as it seems it should. If I click on the "Edit General" button the device name shows as the correct (new) value.
I am also updating the user information at the same upload and this is working as expected, so my upload/script is working correctly
The problem is that unless I click on the "Edit General" button and then click "Save" the device name reverts to its previous value on the next inventory.
In other words it seems like the new name is being uploaded correctly to the JSS but the JSS is not saving the name changes and reverting to the previous value. The other values I am uploading at the same time save as expected but he previous name remains enforced as if I had not tried to make any changes to it.
Below is the xml I am uploading.
Am I missing a step required for JSS to save the new (enforced) device name and not revert to the previous one?
Regards
Graeme
<mobile_device> <general> <display_name>iPad177 (School name)</display_name><device_name>iPad177 (School name)</device_name><name>iPad177 (School name)</name> </general>
<location>
<username>BSS</username><real_name>School Name</real_name><email_address>school email address</email_address>
<position/>
<phone/>
<department/>
<building/>
<room></room> </location>
</mobile_device>
