I am looking to use this workflow with vRA so that when I am deploying a VM it will create the computer in the correct OU.
Ideally I would like to be able to select the OU from a drop down list at the time of deploying the VM from within vRA.
Any tips/articles on the best way to achieve this?
Here are some articles that will help you.
Creating new vRA Workloads in a specific AD OU - vAficionado
http://www.definedbysoftware.com/2014/03/10/vcac-adding-vms-to-specific-ad-ous/
vCloud Automation Center – Active Directory Computer Account Management Extension — DailyHypervisor
Extend vRA into vRO and use an Advanced Service Blueprint to deploy the VM (youll need to do this to have any dynamic selection field).
In vRO use the "Active Directory" plugin to add the computer object to your AD.
I wrote a custom action that fetches the OUs under a starting OU and presents them as:
domain\OU1\OU2\OU3
domain\OU1\OU2\OU4
etc
I set the action to be the "external values" of a drop down list type in the asd form.
You could set a custom dictionary property and hard code in OUs if you dont mind a static list.