Just trying to make basic flow that creates a user in Active Directory, managed to get connected to the server, however I am getting this error when using the "Create User" action.
Correlation Id: 6928e489-caaa-41e6-a04e-881d1fde8536
Exception has been thrown by the target of an invocation.: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Password couldn't be set. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: One or more input parameters are invalid
--- End of inner exception stack trace ---
at System.DirectoryServices.DirectoryEntry.Invoke(String methodName, Object[] args)
at Microsoft.Flow.RPA.Desktop.Modules.ActiveDirectory.Actions.Types.UserEntry.SetPassword(String password)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.ActiveDirectory.Actions.ActiveDirectoryBase.HandleException(Exception ex)
at Microsoft.Flow.RPA.Desktop.Modules.ActiveDirectory.Actions.CreateUserAction.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)
The password I am trying to set is certainly of the correct length and complexity, and doesn't break any of our rules.
I am also using the desktop version, is that better or worse? Should I use the online version?
Thank you.