Share via

How to create user in AD using Power Automate Desktop

Omar Hakima Abou Fakher 0 Reputation points
2024-10-14T15:23:10.0033333+00:00

Hello All,

Trying to create power automate desktop flow that creates new user in AD, the follow is simple and consist of the following three actions:

1- connect to server (LDAP://Myserver/DC=myDomain,DC=local)

2-Create User (in the folder : myDomain.Local/mainOU/Management/HR )

3-close connection.

the flow is running well without action #2, but once i add action #2 i am getting error below:

error

i am not sure if the location that i am using in the Create User action is correct or not:

CN=mainOU,CN=Management,CN=HR,DC=myDomain,DC=Local

create user

can someone please advise me what is the right Location to follow (noting that i am having subfolders in active directory) and in case i am following the right way , why am I getting the error please?

Community Center | Not monitored
0 comments No comments

1 answer

Sort by: Most helpful
  1. Omar Hakima Abou Fakher 0 Reputation points
    2024-10-15T08:25:43.04+00:00

    there is a mistake in the location

    the correct location is:
    OU=HR,OU=Management,OU=mainOU,DC=myDomain,DC=Local

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.