Idira Identity: Windows enrolled with Windows Cloud Agent (WCA) is getting same device id
Symptom
When enrolling a windows machine with WCA, it failed with following error
Enrollment Failed: Agent Already exist in platform
And we also notice the device got same device id with another existing enrolled machine
Environment
20.7;21.1;21.2;21.3;21.4;21.5;21.6;21.7;21.8;21.9
Cause
Identity get the device id from HKLM\SOFTWARE\Microsoft\Cryptography\MachineGuid, it is likely those machine are having the same value, especially if the machine is cloned
No machines should have the same value of they above registry key where you want to install WCA.
Resolution
The safest option recommended is to use sysprep generalize the machines before installing Identity WCA if they are cloned from a template.
Another option is to manually edit the value of the following registry key
HKLM\SOFTWARE\Microsoft\Cryptography\MachineGuid
Note: Since this registry key is not managed by us, modifying it may cause unknown behavior in other applications installed on the machines. Editing this registry key may also cause some issue in communication between the machine and domain controller.