Hello @Jcircuit13
If you are trying to do AD automation using UiPath, its better to sue the default UiPath powershell package for this. All the functionalities are covered as different activities and its easy to use.
The first link can help you to solve your issue.
Update!
This activity is now available on the Official Stable Feed:
Learn more about it here
As the next step in our IT Automation roadmap, we’re excited to announce our Active Directory Domain Services activities package is now available in public preview!
This next set of 30+ activities continues our journey to deliver activities that enable you to easily automate what we feel are the most critical IT actions, including the ability to create and update user accounts, manage…
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...