Help with UIPATH integration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help with UIPATH integration

L1 Bithead

Hello. We purchased some robot licenses to use with the Central Credential Provider and have installed that component. However, I am stuck with getting this to work with UIPath.

 

  • I have setup an application in the Password Vault under \Applications and granted the 2 UIPATH machines access.
  • I have created a SAFE for the UIPATH accounts and granted the application access to this safe
  • I created a domain account and added to this SAFE.
  • On the UIPATH side. (Not my application and not setup by me)
  • A Cyberark section was added/updated in the web.config on the orchestrator server to the value specified in the documentation: UiPath.Orchestrator.CyberArk.dll
  • A project was created that uses 'Get Credential'
    • AssetName: "AD_cred"
  • A robot was created in UIPATH.
    • AssetName: "AD_cred" Matches the name from 'Get Credential'
      • Under the asset:
        • Type: Credential
        • Credential Store: Name matches the value from the 'Get Credential' action
        • Global Value: ON
    • Credential Store: Matches the name of the AD Acct that I added to the Vault

 

I get an error when I try to run the project:

  • Get Credential: Failed to read AD_Cred from Credential Store type CyberArk Error code: 2304

 

I have also tried installing AAM on the UIPath servers and added those accounts to the safe access and still get the same error.

 

What am I missing?

 

Thank you in advance!

Don

 

16 REPLIES 16

L7 Applicator

If you have installed the AAM CP (the Windows agent) on your robot, verify that you can access the credential using the CLI SDK (through the Windows commandline, basically). Use these examples: https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-CP/Latest/en/Content/CP%20and%20ASCP/CLI-Applic...

 

If that works, then the issue is in the uiPath config.

L1 Bithead

I didn't know that was an option. I built the command, it ran perfectly and pulled back the password.

Where on the CyberArk side would I be able to see logs of attempted connections?

I didn't see them on the Vault Administration console.

 

Thank you for the quick response!

Don

Hi Don,

I am facing the same issue. Could you please help me with the solution ?

Hello. I will be happy to help if I can. I just checked my credential store for that account and it does not have those last two lines. Have you verified that you run the powershell command to pull the password.

 

I modified this command to match your details if you haven't tried this:

cd "C:\Program Files (x86)\CyberArk\ApplicationPasswordSdk"

 

$pwd=.\CLIPasswordSDK.exe GetPassword /p AppDescs.AppID=UIPath /p Query="Safe=UIPath;Folder=Root;Object=Cyberark" /o Password

 

$pwd

Let me know if you have additional questions.

Thank you,

Don

Field_Content_versions_oct20__0682J00000DkTRcQAN.png

Hi Don, Are you using CP or CCP for UiPath as i am using CCP for UiPath and may be because of that screenshot differs. And I am able to retrieve the password using https query i.e. https://cyberark-aam.com/AIMWebService/api/accounts?AppID=BluePrism_app&Object=Operating System-****-*****.onehc.net-Z00***** in json format file.

L2 Linker

I've my orchestrator server running in AWS cloud, so I'll be installing the CP agent for Windows on the AWS server. Do I've to open port 1858 between Orchestrator and Vault (As it's a risk) for storing and retrieving BOTS credentials in UiPath web console whenever required? Or opening only 443 between PVWA and Orchestrator will provide credentials to bots on the UiPath whenever requested?

Hi Lincoln, If you are installing CP you don't have to worry about 443 port but yes 1858 need to be opened.

Thanks @Nitin Kumar​ 

Hi @Nitin Kumar​ the installation of AIM agent for windows was successful on the Orchestrator server, I was also able to retrieve the credentials using the GetPassword query using CLIPasswordSDK but when I try it from he UiPath console I get invalid credentials error and nothing gets captured in the Console or Audit logs. But on the Orchestrator server event logs, I found the below attached error.

 

Can you please help here?

 

Field_Content_versions_oct20__0682J00000ESw3xQAD.png

Have you made changes to orchestrator web.config ? Also Bot accounts object name should be in a particular format. I would recommend to check the bot object name.

L1 Bithead

Hi,

has anyone managed to find a solution to this problem?

 

With integration via AAM CCP I also have Error code: 2304

 

 

Any solution for the error code 2304 (CCP with Uipath)

L1 Bithead

The plugin searches for

CLIPasswordSDK64.exe

 

in the default CyberArk AIM installation path, namely C:\Program Files(x86)\CyberArk\ApplicationPasswordSdk\CLIPasswordSDK64.exe. If CyberArk AIM was not installed at the default path, a configuration entry must be added in UiPath.Orchestrator.dll.config, pointing to the actual path. The path can be specified in the

appSettings

 

section in

web.config

 

prior to the installation or in the

UiPath.Orchestrator.dll.config

after the installation.

 

Example:

<add key="Plugins.SecureStores.CyberArk.CLIPasswordSDKExePath" value="D:\CustomFolder\CLIPasswordSDK64.exe" />

  • 3679 Views
  • 16 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!