VMware Cloud Community
jacksonecac
Enthusiast
Enthusiast
Jump to solution

Default Active Directory server not set.

Hello I am simply running a script and the only line of code is:

var OUs = ActiveDirectory.search('OrganizationalUnit', 'testOU');

This simple line is erroring out. I know the object is there because I can search the AD, I can also go in outside of VCO and do any operation that I need to. Has anyone seen this before or know why this is?

Tags (2)
1 Solution

Accepted Solutions
Burke-
VMware Employee
VMware Employee
Jump to solution

Yes, please see the Technical Preview for the AD 2.x plug-in here: Technical preview version of VMware vCenter Orchestrator Plug-In for Microsoft Active Directory - You'll see in the comments on that document that others had similar issue and perhaps it is resolved with a newer version than what you are currently using...

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter

View solution in original post

0 Kudos
3 Replies
Burke-
VMware Employee
VMware Employee
Jump to solution

Yes, please see the Technical Preview for the AD 2.x plug-in here: Technical preview version of VMware vCenter Orchestrator Plug-In for Microsoft Active Directory - You'll see in the comments on that document that others had similar issue and perhaps it is resolved with a newer version than what you are currently using...

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
0 Kudos
SeanKohler
Expert
Expert
Jump to solution

Did you set the Default Active Directory with the workflow to do so?

ADDefault.jpg

malasfar
VMware Employee
VMware Employee
Jump to solution

i had the same issue yesterday and @SeanKohler suggestions solved it.

0 Kudos