VMware Cloud Community
cdhunter
Enthusiast
Enthusiast

Create a computer in an organizational unit

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?

Reply
0 Kudos
2 Replies
pizzle85
Expert
Expert

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.

Reply
0 Kudos