Hi Everyone.
I would like to create an Active Directory User with the IT Automation for Public, Private & Hybrid Clouds Template from UI Path.
It works when I execute the Process from UI Assistant on the Server itself.
But as soon as I start the same process from orchestrator, I get the following error:
An exception occurred when creating the user h.muster Exception: UiPath.ActiveDirectoryDomainServices.Activities.ActiveDirectoryException: An error has occurred: Access is denied. —> System.UnauthorizedAccessException: Access is denied. at System.DirectoryServices.Interop.UnsafeNativeMethods.IAds.SetInfo() at System.DirectoryServices.DirectoryEntry.CommitChanges() at UiPath.ActiveDirectoryDomainServices.Entry.UserEntry.Create(String cn, String sAMAccountName, String password, ObjectEntry parent, IDictionary2 properties, Boolean enabled) at UiPath.ActiveDirectoryDomainServices.Service.ActiveDirectoryService.CreateUser(String cn, String sAMAccountName, String password, String locationDn, IDictionary
2 properties, Boolean enabled) at UiPath.ActiveDirectoryDomainServices.Activities.CreateUser.Execute(CodeActivityContext context, ActiveDirectoryService service) at UiPath.ActiveDirectoryDomainServices.Activities.ActiveDirectoryActivity.Execute(CodeActivityContext context) — End of inner exception stack trace — at UiPath.ActiveDirectoryDomainServices.Activities.ActiveDirectoryActivity.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
The process gets executed from a robot with domain admin windows credentials.
The same domain admin user can execute the process through UI assistant locally on the server without any issue.
Checking if the AD User exists before creating it seems to work. So the connection from orchestrator to the robot seems to be correct.
It seems like the robot is trying to create the user with other credentials than I provided, but I can’t figure out where I can change them.
What am I missing?
Thank you in advance.
Kind regards