This is running fine in powershell, however when I run this in Uipath using invoke powershell activity, It throws below error: Invoke Power Shell: A command that prompts the user failed because the host program or the command type does not support user interaction. The host was attempting to request confirmation with the following message:
Just to add lil more context, Get-ADUser works perfectly fine.
Has anyone ever experienced this issue? Please pour in your suggestions/recommendations.
Thanks!
Hi Rahul,
Thanks for your response!
There are some security constraints regarding the use of Active Directory scope in the bank I work with. We are facing a PasswordNotRequired flag with the account created with âCreate Userâ activity under Active Directory Scope.
So the ask here is to use powershell script to create a new user account.
Thanks for your response!
There are some security constraints regarding the use of Active Directory scope in the bank I work with. We are facing a PasswordNotRequired flag with the account created with âCreate Userâ activity under Active Directory Scope.
So the ask here is to use powershell script to create a new user account.
Hi Rahul,
In PowerShell, No, its not asking to enter the password.
Also, Creating an account and setting up a password should be one transaction.
If I create an account first and then set the password, that user account gets flagged red as per the bankâs policy which should not happen at all.