Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

guestcustomizationsection.Adminpassword not available.

$
0
0

Hi All,

 

Am am attempting to retrieve the "AdminPassword" for a virtual machine via vCenter orchestrator, however it appears to be missing from the GuestCustomizationSection XML, and is therefore returning null. The password IS available via the native vCloud Director UI. Does anybody have any ideas? XML of vm.getGuestCustomizationSection is below

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns6:GuestCustomizationSection xmlns="http://www.vmware.com/vcloud/versions" xmlns:ns2="http://schemas.dmtf.org/ovf/envelope/1" xmlns:ns3="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:ns4="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:ns5="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:ns6="http://www.vmware.com/vcloud/v1.5" xmlns:ns7="http://www.vmware.com/schema/ovf" xmlns:ns8="http://schemas.dmtf.org/ovf/environment/1" xmlns:ns9="http://www.vmware.com/vcloud/extension/v1.5" type="application/vnd.vmware.vcloud.guestCustomizationSection+xml" href="https://redacted.com/api/vApp/vm-4a810f66-524c-4d2e-b031-a4ea99e4ae21/guestCustomizationSection/" ns2:required="false">    <ns2:Info>Specifies Guest OS Customization Settings</ns2:Info>    <ns6:Enabled>true</ns6:Enabled>    <ns6:ChangeSid>true</ns6:ChangeSid>    <ns6:VirtualMachineId>4a810f66-524c-4d2e-b031-a4ea99e4ae21</ns6:VirtualMachineId>    <ns6:JoinDomainEnabled>false</ns6:JoinDomainEnabled>    <ns6:UseOrgSettings>false</ns6:UseOrgSettings>    <ns6:AdminPasswordEnabled>true</ns6:AdminPasswordEnabled>    <ns6:AdminPasswordAuto>true</ns6:AdminPasswordAuto>    <ns6:ResetPasswordRequired>false</ns6:ResetPasswordRequired>    <ns6:ComputerName>Sm-VM-2K8R2-Sp1</ns6:ComputerName>    <ns6:Link rel="edit" type="application/vnd.vmware.vcloud.guestCustomizationSection+xml" href="https://redacted.com/api/vApp/vm-4a810f66-524c-4d2e-b031-a4ea99e4ae21/guestCustomizationSection/"/></ns6:GuestCustomizationSection>

Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>