Error using WebService Call LinkComputersToUpByName on EnterprisenitGrou

Document ID : KB000101439
Last Modified Date : 13/06/2018
Show Technical Document Details
When using LinkComputersToUnitGroupByName Web Services Call on Enterprise, we receive the error: "1,The requested object was not found" The computer and group are both visible on the Enterprise server and physical computer names and login values are correct. This type of problem can also happen with Web Services calls on the Domain Manager.
Any supported Enterprise or Domain Manager system.
Here is a sample XML run and the error returned. All items seem valid when checked:

<soapenv:Envelope xmlns:soapenv="" xmlns:r11="urn://">
      <r11:unitGroupName>GROUP NAME</r11:unitGroupName>
      <r11:computerName>MACHINE NAME</r11:computerName>
      <r11:domainName>DM MACHINE NAME</r11:domainName>

And response is:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:SOAP-ENC="" xmlns:xsi="" xmlns:xsd="" xmlns:xop="" xmlns:xmime5="" xmlns:dsm2="urn://" xmlns:dsm1="urn://" xmlns:ASWS2="automationServiceSoapBinding" xmlns:ASWS1="">
    <faultstring>1,The requested object was not found</faultstring>

However in this case...the client had a custom Domain Display Name that was not the actual Enterprise/Domain Machine Name...This causes the call to fail as we look for the DISPLAY NAME rather than the actual DM/ES machine name...
The fix is simple...just update the XML to use the DISPLAY NAME for the Enterprise or Domain name shown in DSM Explorer, rather than the real name of the Server.