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 / Invalid directory path...
Power Automate
Unanswered

Invalid directory pathname was passed when creating a user

(0) ShareShare
ReportReport
Posted on by 10

I'm trying to create a flow that automate the creation of a user.  After the Connect to server action runs, the Create user action errors out and gives the error "An invalid directory pathname was passed".

 

The Connect to server action, LDAP path is set to LDAP://DC=DOMAIN,DC=COM. The return variable is ParentDirectoryEntry.

 

If I hover over the ParentDirectoryEntry variable when it errors out it shows that it's set to "Entry with distinguished name DC=DOMAIN,DC=COM". If I double-click on it and open it up it shows what appears to be a table with Property and Value columns. The Property has .LdapPath, and the Value column has DC=DOMAIN,DC=COM.

I have the same question (0)
  • Srini007 Profile Picture
    3,490 Super User 2026 Season 1 on at

    Hi @Brian987 

     

    Check below for your reference

     

    Srini007_0-1703008554915.png

     

    You can found the info from below link for your reference

     

    https://learn.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/activedirectory

     

    For elevated permissions to run, check below documentation

    https://learn.microsoft.com/en-us/power-automate/desktop-flows/how-to/run-power-automate-elevated-rights

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Regards,

    Srini

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard