Error in deploy task if using external App for the service connection in Azure DevOps

Hi,
As UiPath has recently discontinued with Refresh tokens, we have been trying to integrate External Applications as the new authentication method for our Orchestartor service connection.

We have generated the required keys from the Orchestrator for the OAuth, but when we try to use them in our pipeline, we are getting below error.
" Failed to run the command. Could not connect to Cloud Orchestrator, Refresh Token: ***, Tenant: ***, Account Name: ***, OrganizationUnit: test.
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 Orchestrator - Self-signed Certificates were correctly followed when creating the certificate.
Any help will be really appreciable.
Thanks.

@pallavi.seth

Can you show a screenshot of the connection please

ideally you need to choose oauth from dropdown in connections

cheers

Thanks for the reply.
Here is the screenshot for the connection

@pallavi.seth

The orchestrator url with org and tenant should be present not cloud.uipath.com..also identity server is not required for cloud ..for on prem we need it

cheers

Hi Anil,
We tried including organization name and Tenant name in the URL but no luck. we are getting the same error.
Can it be related to some permission issue or the version of Deploy task which we have been using in our pipelines?

Thanks.

@pallavi.seth

please check the guide here

I believe you would have given a wrong url or would have had some miss in permission

All are listed in detail

Also a small correction the account name is where you list the org name but the url of orch server needs to be cloud.uipath.com itself

cheers

Hi,
we had followed mentioned link only when configured the connection and other settings.
We will be raising this issue with UiPath today.
Thanks for the suggestion.

1 Like