VMware Aria Automation Orchestrator

 View Only
  • 1.  Active Directory Plugin to create OU at root

    Posted Jul 14, 2016 06:00 AM

    With the Microsoft AD plugin I am able to create Organization Unit under another OU. But is it possible to create an OU directly under the Active Directory domain? to site beside Domain Controllers?



  • 2.  RE: Active Directory Plugin to create OU at root

    Posted Jul 14, 2016 10:16 AM

    Yes. Take a look at the below link. It is for multiple domains but still holds good. Use the Create Organizational unit workflow under the AD plugin library.

    http://www.jonathanmedd.net/2015/05/using-the-vro-2-0-plugin-for-active-directory-to-work-with-multiple-domains.html



  • 3.  RE: Active Directory Plugin to create OU at root

    Posted Jul 14, 2016 05:37 PM

    Thanks for the response. As I mentioned in my question I am aware of the Create OU Workflow. But it only creates OU inside another OU. I would like to create an OU directly under the AD and not inside an existing OU. Is that possible?



  • 4.  RE: Active Directory Plugin to create OU at root
    Best Answer

    Broadcom Employee
    Posted Jul 21, 2016 09:13 PM

    Yes, it is possible :smileywink:

    Here's how:

    Duplicate the Create Organizational unit workflow since you can't edit a Library workflow.

    In your duplicate workflow, change the ouContainer input type to AD:ActiveDirectory and save your new workflow.

    Now, when you run the workflow, you'll be able to select your root domain and add a new OU to the root level.

    Enjoy!



  • 5.  RE: Active Directory Plugin to create OU at root

    Posted Jul 22, 2016 06:14 PM

    I tried that but its not working. Have you tried it? As you said I duplicated the workflow. I changed the input to AD-Active Directory. I had to change the input type to tree to be able to select the active directory domain.

    Once I did and ran workflow, selected the Active Directory domain and input the new name. It errors - "TypeError: Cannot find function createOrganizationalUnit in object notfound."

    I believe this is because the underlying action - CreateOrganizationalUnit - expects AD:OrganizationalUnit as input type.

    So I duplicated the action and called it - CreateOrganizationalUnitAtRoot - and changed input type to AD:ActiveDirectory (also tried AD:Group) . I get the same error in both cases - TypeError: Cannot find function createOrganizationalUnit in object notfound.

    Any ideas?



  • 6.  RE: Active Directory Plugin to create OU at root

    Posted Jul 24, 2016 08:16 AM

    Find attached sample workflow how to create OU under root of the domain using AD plugin version 2.0.8.

    You can also take a look at 3.0.1 technical preview version of AD plugin. It has generic LDAP client which will allow you to create arbitrary LDAP entry.

    Tech preview is available here Technical preview version of VMware vCenter Orchestrator Plug-In for Microsoft Active Directory

    and brief overview of new features can be found here Active Directory plugin 3.0.0 - New and Noteworthy



  • 7.  RE: Active Directory Plugin to create OU at root

    Posted Jul 24, 2016 08:17 AM

    Find attached sample workflow how to create OU under root of the domain using AD plugin version 2.0.8.

    You can also take a look at 3.0.1 technical preview version of AD plugin. It has generic LDAP client which will allow you to create arbitrary LDAP entry.

    Tech preview is available here Technical preview version of VMware vCenter Orchestrator Plug-In for Microsoft Active Directory

    and brief overview of new features can be found here Active Directory plugin 3.0.0 - New and Noteworthy



  • 8.  RE: Active Directory Plugin to create OU at root

    Broadcom Employee
    Posted Jul 25, 2016 02:50 PM

    Yes, I only posted my response after I had successfully confirmed that it works. My environment was a vRO 7.0.1 server with the AD plug-in that shipped with vRO (IE: I did not apply any updated AD plug-in.)



  • 9.  RE: Active Directory Plugin to create OU at root

    Posted Dec 09, 2021 06:45 AM

    imtrinity94_0-1639032301097.png

    Its doesn't seem to be working in vRO 8.3 possibly due to AD plugin changes