Skip to main content

Notifications

Community site session details

Community site session details

Session Id : rBArRkNnePYl43FMf6zOXw
Power Automate - Power Automate Desktop
Unanswered

Creating users in Active Directory

Like (0) ShareShare
ReportReport
Posted on 5 Apr 2023 08:01:05 by

Hi all,

 

I'm currently trying to create a Power Automate Desktop flow that will create a user in AD. 

 

My flow is currently just some variable declaration steps, and a Connect to Server step. This works, and I'm able to get user information from AD successfully.

However, when I add and run a "Create user" step I get the error: Object not found in directory.

 

I have tried each of the following format in the location field:

CN=users,DC=domain,DC=com,DC=au
and

OU=users,DC=domain,DC=com,DC=au

and

CN=users

and

OU=users

 

All of these produce an error. As I can get existing user info I assume the server connection and previous steps are working, but let me know if the error could be originating earlier.

 

Thanks,

 

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started
Loading complete