This is to clear the stale replication entries in the vSphere replication servers which can happen when trying to remove the replications and re-add.
ERROROperation FailedUnable to configure replication for virtual machine 'virtual machine' because group 'virtual machine' cannot be created. Another virtual machine 'virtual machine' that has the same instance UUID '50206a21-d177-e2ea-7085-############' already exists on protection site '(Protected Site)'.VMware vSphere Replication 9.0.1, 9.0.2
VMware Live Recovery 9.0.3, 9.0.4
VCF Protection and Recovery 9.1
Configuring replication using VCF Automation 9.1
An orphaned replication remains on one of the sites, preventing the configuration of a new replication for the same virtual machine due to a UUID conflict.
If the vSphere Replication Management server is not reinstalled, an orphaned replication exists in your environment. It can be forced stop the replication to delete orphaned entry.
Alternatively, use the Managed Object Browser (MOB) of the vSphere Replication Management server to delete the replication.
Configuring Replication Fails Because Another Virtual Machine Has the Same Instance UUID
SSH into Source ESXI host and find VM identifier with vim-cmd vmsvc/getallvms
Validate VM replication status with vim-cmd hbrsvc/vmreplica.getState vmid
If Replica info exists for VM remove with vim-cmd hbrsvc/vmreplica.disable vmid
If the vSphere Replication Management server on one of the sites was reinstalled or otherwise reset:
FAQ: Site Recovery Manager & vSphere Replication Redeployment Guidelines
Impact/Risks: VM replications cannot be configured.