web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : XSzEuPn22OQOFTdcRSWhWA
Copilot Studio - General
Unanswered

Unable to connect to the remote server

Like (0) ShareShare
ReportReport
Posted on 13 Sep 2021 10:29:49 by 2

Dears,

 

I build the Chabot on power automate and to complete it, the process is to link power automate with Uipath Orchestrator (On premise) where PVA (Power Virtual Agent) will send authenticate request(HTTP) to get the orchestrator token id using login details and end point. 

Below are the details which we are using in authentication. 

 

Method - HTTP
Type - POST
Header - Content-Type -> application/json
End point URL - https://{{Host}}/api/account/authenticate
Body -
{
"tenancyName": "Tenent name",
"usernameOrEmailAddress": "Username",
"password": "Password"
}

 

But unfortunately, we are not able to get the token id and process gets failed while sending request.

 

Below are the permutations we have tried. The one marked NO is our deployment scenario which we need to get working.

 

API call triggered fromCloud hosted UiPath OrchestratorOn-Premise UiPath Orchestrator, accessible on Internet
PostmanYESYES
UiPath HTTP request activity, when executed on a system outside the On-premise Orchestrator's network, ie the API call happens over the internetYESYES
Power Automate HTTP RequestYESNO

 

 

 

 

Thanks.

Categories:
I have the same question (0)
  • CU22081450-0 Profile Picture
    Most Valuable Professional on 13 Sep 2021 at 10:38:26
    Re: Unable to connect to the remote server

    Hi @ALdahra ,

     

    What was the error within your flow?

    Can you take some screenshots, please?

     

    Because if it is an error related to the Power Automate with connectors, I recommend you to raise a topic within the Power Automate community, PA users and Microsoft team can help you better there.

  • ALdahra Profile Picture
    2 on 13 Sep 2021 at 10:53:22
    Re: Unable to connect to the remote server

    Hi,

     

    Thank you for your response. please see the below error in PVA. 

    ALdahra_0-1631530388313.jpeg

     

  • Expiscornovus Profile Picture
    32,891 Most Valuable Professional on 13 Sep 2021 at 11:24:23
    Re: Unable to connect to the remote server

    Hi @ALdahra,

     

    Sorry to bud in.

     

    But as far as I can tell from the documentation you are using a deprecated endpoint of the UIPath Orchestrator:

    https://docs.uipath.com/orchestrator/reference/authenticating

     

    It looks like another option would be OAuth. Have you tried registering Power Automate as an external app and using OAuth instead:

    https://docs.uipath.com/orchestrator/reference/using-oauth-for-external-apps

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 424 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 318 Super User 2025 Season 2

#3
CU15090955-0 Profile Picture

CU15090955-0 46

Last 30 days Overall leaderboard
Loading complete