web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create an AD User (Cre...
Power Automate
Unanswered

Create an AD User (Create User)

(0) ShareShare
ReportReport
Posted on by 2

I'm trying to automate the creation of an Active Director users so, to learn, I'm beginning with manually creating a test user using the Create User task.  I've successfully connected to my AD server and successfully was able to use the "Get user info" command against my account.  The problem is that I keep getting a message "Directory entry not found" when I use the below Locations.  

 

RandyGus_1-1676059664985.png

 

Or I get "There is no such object on the server"  When I use the following Location

 

RandyGus_2-1676059884044.png

 

MS website Active Directory actions - Training | Microsoft Learn says it has to be in this format: 

"The Location field should have the following format: CN=Users,DC=contoso,DC=demo"

 

So I guess I'm a bit confused what they are looking for for the CN field.  CN to me means Canonical name, but if I'm creating a user then the location shouldn't be the Canonical Name but rather an OU location, I'm thinking.  That that is why I used OU=Staff in the second example.

 

I can't find any good resource on Youtube, Udemy, GOogld that talks about AD and PowerAutomate with concrete examples so I'm reaching out for some guidance.

 

Much thanks

Randy

 

 

  • RiccoHipp1903 Profile Picture
    284 on at

    I encountered the same Problem. 
    We got a "solution". Our LDAP Path goes strait to the Active users with all DCs and all OUs
    After that we could leave the Location empty and it was generated in the same spot as LDAP was connected

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard