Symptoms:
A VM deployed via vRA automation workflow fails when SRM protection tasks begin with the error:
Unable to protect VM due to unresolved devices. Error code: com.vmware.vcDr.dr.replication.fault.DevicesNotResolved
The VM template can be deployed manually without issues; however, when deployed via automation, this error occurs.
Live Site Recovery 9.x
When automation deploys a VM, it often attaches certain devices (like ISO files, USB controllers, or CD/DVD drives). However, protecting a VM with these attached devices is not supported by SRM. As a result, the replication or protection task fails whenever such devices are present.
Remove the attached devices from the VM before protecting it using SRM.