Has anyone been successful in getting the specific fault/error message from a VM under a protection group?
I'm trying to get the message shown in the UI via the API.
For Example,
I have a VM sitting on ABR storage - this is fine.
It's not yet protected and it's assigned to a network that is NOT mapped in SRM (This is by design as a test)
When I run the protectVM task via the API, it runs, but when I retrieve the error via the GetResult() method on the task, it simply says:
fault localizedMessage
----- ----------------
SRM01.MethodFault Unable to protect VM '<MY VM>' due to unresolved devices
I want the message that appears in the UI, which currently shows:
Mapping missing: Network 'THE MISSING NETWORK PortGroup NAME'
Does anyone know how I can get this information instead of the generic "unresolved devices"
Is it from the VM protection perspective or something on the protection group?
Thanks to all in advance!