n8watcher
Contributor
Contributor

I've solved this. Problem is Get-ADorganizationalunit in addition with -Identity parameter because it will give us an error OU in Active Directory not found if the OU doesn't exist. vRA takes this "error" and give it as exit=1 back and stop the deployment / decomission the VM because of that.

To solve it easily use Get-ADOrganizational Unit with -FIlter parameter.

Thanks for your input.

Reply
0 Kudos