cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ALdahra
New Member

Unable to connect to the remote server

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.

3 REPLIES 3
renatoromao
Super User
Super User

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.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

Hi,

 

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

ALdahra_0-1631530388313.jpeg

 

Expiscornovus
Super User
Super User

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

 



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Helpful resources

Announcements
Power Virtual Agents News & Announcements

Power Virtual Agents News & Announcements

Keep up to date with current events and community announcements in the Power Virtual Agents community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Virtual Agents Community Blog

Power Virtual Agents Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,664)