azure-devopsuipathuipath-orchestrator

Could not connect to Uipath Orchestrator from Azure DevOps Pipeline


I am trying to setup a CI/CD pipeline for Uipath Project Using Azure DevOps Pipelines following the the steps below

https://www.uipath.com/community-blog/tutorials/how-to-implement-cicd-pipeline-using-azure-devops-pipelines

but i am getting an error like this.

Please make sure that the provided URL (https://cloud.uipath.com/) is correct, available from your build agent, and not blocked by a firewall.
If the Orchestrator is using a self-signed SSL certificate, make sure that the build agent trusts it. Ensure that all the steps at https://docs.uipath.com/orchestrator/docs/self-signed-certificates were correctly followed when creating the certificate.

Solution

  • I followed the doc mentioned, and can reproduce the same error with External Application type service connection:

    enter image description here

    I resolve the error by changing to use Token Based Authentication service connection. steps as below:

    1. Go 'preference' below -> Privacy&security -> check the API access for the target domain. enter image description here

    2. Copy the user key, it will be used as token value in service connection.

    enter image description here

    1. Go to devops, create Token Based Authentication service connection. enter image description here

    The pipeline works:

    enter image description here

    You can also refer to the link for your reference.

    enter image description here