Create sys_alias record to store LDAP credentials

subhajit1993
Tera Contributor

I am using a custom flow to run powershell to retrieve LAPs password from AD. For that I have created a custom action and added a powershell step. Also created a connection and credential alias with connection type basic. Added a connection and credentials of type basic auth. The credentials contain the LDAP credentials. Not sure, if the type of records selected while cresting the alias are correct. When I click on test powershell step. I get this error:

subhajit1993_0-1697790942312.png

Also, if I test the action, this is the error I get:

Invalid parameter

Stack Trace:    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementPath.CreateWbemPath(String path)
at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()

 Please let me know if any one has come across a similar configuration or similar error message. If its a credential issue, how should I create the alias. Any help would be appreciated.

4 REPLIES 4

Kuljeet1
Tera Contributor

Hi Subhajit

Did you resolve this issue

Yeah, it got resolved.

Hi, how did you resolve the issue? I am facing same issue in Exchange

subhajit93
Tera Contributor

Actually we didnt use the connection alias, instead saved the password in password2 type system property and then retrieved it in the flow as we had to use the password in a powershell step in the flow.