Create a User object in Active Directory using the LDAP node

Describe the problem/error/question

I am trying to create a new user in Active Directory in order to automate our clunky human-centered user management system.

The account that I log into AD with has Account Operators role, which should give me the rights to create a new user.

I can get the DCs and the OUs that I would like to get the user to be created in.

How do you format the required fields to actually create the user? I know I need things like samAccountName, and UserPrincipalName. No matter how i format them for the LDAP node, AD complains.

If somebody has done this before, please share how you did it.

What is the error message (if any)?

Not really getting an error message, just the user isn’t being created.

Information on your n8n setup

  • n8n version: 1.10.1
  • Database (default: SQLite): PG
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: ubuntu 24.04

Thank you!

Hello,

I am facing the same problem as this post here →

I had the same attributes in the node as well but it still failed.

Unfortunately, the post did not mention which attribute caused the error.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.