VMware Cloud Community
AdminOnTheRun
Contributor
Contributor

Help - Create Multiple AD Users

Hi dear specialists,

in the near future I will have to create new groups of users in our AD on a regular basis.

For creating individual users, vRO already has the template "create a user in an organizational unit".

My thought was first, i could create a bulk of users when i change the type of "accountName" from string to array/string, which seems to work so far, but i did not think of the "displayName"...

I just have no idea how I can get him to use the array of "accountName" for the "displayName"...

Do you have any idea?

Is my thought process completely wrong with the solution approach?

Thanks a lot in advance

0 Kudos
1 Reply
iiliev
VMware Employee
VMware Employee

Hi,

What's the problem with handling displayName the same way as accountName, that's it, change the input type to array/string, and then pass an array with display names (one for each account) when you run the workflow?

You just need to be careful to pass arrays with the same number of elements as inputs, and then pass matching elements at the same indices from both arrays when you call the action to create an individual number.

0 Kudos