Skip to main content

Hi all,

In Nintex Workflow it is possible to create an AD group using "Create AD group" action. Once the object is created in AD using Nintex Workflow its class is "Group". However I would like to create an object of "Organizational Unit" class.

Like on the screen shot below, "Test" is an "Organizational Unit" object in AD and "4" as well as "5" are "Group" type object.

210466_pastedImage_1.png

Could you please tell me if it's possible to create such object in AD using Nintex Workflow and if yes can you explain how to do that?

Many thanks,

Rafal

Hi!

I personally don't think this is possible with that action. It's purpose is to create an AD group, not OU, which is very much different to a group. According to documentation (Create AD Group) you can only create a group that way.

The way I think you could try to achieve it, is to use a PowerShell script (New-ADOrganizationalUnit) and the action from https://community.nintex.com/community/build-your-own/blog/2015/10/06/ntx-powershell-action-stable-releasehttps://community.nintex.com/community/build-your-own/blog/2015/10/06/ntx-powershell-action-stable-release 

Regards,

Tomasz


Thank you Tomasz for this solution. I have tested it and it works great.


This is why we are here for happy.png Can you mark my answer as correct then please?

Regards,

Tomasz


Reply