cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Need to create an Organizational Unit object in AD using Nintex Workflow

Jump to solution

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.

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

Labels: (1)
Tags (1)
0 Kudos
Reply
3 Replies
Workflow Hero

Re: Need to create an Organizational Unit object in AD using Nintex Workflow

Jump to solution

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-r...https://community.nintex.com/community/build-your-own/blog/2015/10/06/ntx-powershell-action-stable-r... 

Regards,

Tomasz

Reply
Workflow Hero

Re: Need to create an Organizational Unit object in AD using Nintex Workflow

Jump to solution

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

0 Kudos
Reply
Workflow Hero

Re: Need to create an Organizational Unit object in AD using Nintex Workflow

Jump to solution

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

Regards,

Tomasz

0 Kudos
Reply