I am working on creating a new runbook to perform decommission activities.
I have loaded and configured the active directory integration pack from Microsoft. The runbook is pretty simple.
Initialize data > get computer > Delete computer > invoke next runbook
When using the runbook tested it passes when finding the computer but fails with the following error when attempting to perform the delete computer activity
The parent path '' was not found.
Target site: LdapComputer.CreateExisting
at Microsoft.Accelerators.ActiveDirectoryCore.LdapComputer.CreateExisting(ISafeDirectoryFactory factory, DistinguishedName distinguishedName)
at Microsoft.Accelerators.ActiveDirectoryCore.LdapDirectory.CreateExistingComputer(DistinguishedName distinguishedName)
at Microsoft.SystemCenter.IntegrationPack.ActiveDirectory.Execution.DeleteComputerExecutor.CreateExecutionObject(ILdapDirectory ldapDirectory)
at Microsoft.SystemCenter.IntegrationPack.ActiveDirectory.Execution.ActiveDirectoryProgram.ExecuteProxy(ExecutionProxy proxy)
at Microsoft.SystemCenter.IntegrationPack.ActiveDirectory.AActiveDirectoryActivity.Execute(IActivityRequest request, IActivityResponse response)
It looks like the previous "get computer" activity did not pass any results to the next step or it did not find the object even though it shows as passed. Can anyone point me in the right direction to troubleshoot this?