Trying to create an Active Directory User using Flow Designer via the IntegrationHub Microsoft AD Spoke.

Kyle Scharkopf
Tera Guru

I am new to using Flow designer and Orchestration.

I am trying to create an Active Directory User using Flow Designer via the IntegrationHub Microsoft AD Spoke. I believe that I have all the settings with the connections alias to my DC set up correctly as I am not getting any authentication errors. However, when I either run or test the flow -  The create user step just remains in a state of 'In progress'

find_real_file.png

I am able to successfully create AD accounts using Workflow editor.

Also I am trying to figure out - If I can get it to work - How goes the create user spoke know what OU to place the the user in?    Doing it in workflow editor I was doing it with a 'create AD object' activity that I was passing information to via a workflow scratchpad....     Doesn't seem to be really anything online about this topic at all - Hope someone can point me in the right path.  Thank you

 

1 ACCEPTED SOLUTION

Kyle Scharkopf
Tera Guru

Needed to submit a HI request to activate IntegrationHub subscription (com.glide.hub.integrations) for DEV and TEST instance (no cost for sub Prod instance)

Had to do the same for personal developer instance. There are additional issue that I am currently experiencing but I am past this point at least

View solution in original post

9 REPLIES 9

Kyle Scharkopf
Tera Guru

Needed to submit a HI request to activate IntegrationHub subscription (com.glide.hub.integrations) for DEV and TEST instance (no cost for sub Prod instance)

Had to do the same for personal developer instance. There are additional issue that I am currently experiencing but I am past this point at least

craigrowlson
Tera Contributor

Did you happen to get this straightened out? I have the Integration Hub subscription but i seem to be struggling to create a user with an error "Invalid credentials for Host". I am trying to figure out what OU its attempting to write to and there is little info or examples available online. 

Peter de Bock1
Mega Guru

hi Craig and others,

Please unfold all the steps in the IntegrationHub when you are testing it. There are multiple unfold abilitities. See screenshot.

In some cases, when you cannot unfold it is because of an incorrect configured step in your flow. In such a situation an error message is being written in the System Log (at least in the situations I encoutered).

Similas as creation of a Group, you need to specify the OU path when creating a new User. You can hardcode it or make it dynamic or based upon a property. In our situation regarding groups, we have parent groups with a custom field having the OU path on it. Note that the OU path is only necessary when creating User & Groups.

About storing credentials:

https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/product/credentials/concept/cred...

 

Please mark helpfull when it brought you further

regards, Peter

 

find_real_file.png

Thanks Peter for the quick response. For the Create User Activity I opened up the activity and added to the powershell script on the backend the -path and hardcoded the OU which worked! thanks for your help