Switching between several Orchestrator tenants

Hello

Is it possible to have one installation of UiPath Studio, Robot and Assistant on a single machine, but change between several Orchestrator tenants?

One being an on-prem Orchestrator and the other one being an Cloud Orchestrator.

Regards
Soren

@SorenB,

You should be able to do it by signing out from one tenant and login with the desired one through Assistant.

1 Like

But no easy way of switching back and forth between the two?

Im thinking in the case where you would have a live production tenant (on-prem) and a demo/testing private tenant :wink:

@SorenB,

Unfortunately no other easy option. Normally we don’t connect Studio to PROD tenant to avoid any intentional or unintentional buggy deployments or changes.

If you have the requirement, you can request this feature through Insider or here on Forum as well.

Cheers!!

1 Like

@SorenB What if we can create multiple windows user and login each with different tenant? :thinking:

instead of switching tenant we can switch windows user

1 Like

Hi @SorenB

You can change the Orchestrator connection by configuring the Orchestrator URL in UiPath Assistant and logging in to different tenants as needed.

Hi @SorenB,

We are doing it right now(we are in on-prem to cloud migration) so frequently switching between cloud and on-prem orchestrator.

But we are doing by changing orchestrator settings. Our org Admin team has an application created for us to connect to the orchestrator. So, everytime, we wanna switch between different orchestrator, we just run those applications to make the switch.

Regards
Sonali

3 Likes

@SorenB

ideally manually connection is the way

other way is to create a bat file with required info and just by click of it we can disconnect and connect with a different user

cheers

Hello @Anil_G

Do you have an example of such .bat-file(s)?
I notice line 2 and 3 in the initial section which might be troublesome?

Perhaps using UiPath CLI is an option…

Regards
Soren

@SorenB

2 and 3 are not related to changing profiles but to do installations

what you need is only to connect different orchestrators

here is the command that would help

cheers

1 Like

Hello @Anil_G

Thank you for the suggestion.
Now I finally had the time to test it and it seems to work.

I ended out with two .bat-files in the following format:

taskkill /IM UiPath.Assistant.exe /F
"C:\Program Files\UiPath\Studio\UiRobot.exe" --disconnect
"C:\Program Files\UiPath\Studio\UiRobot.exe" --connect --url <url-for-tenant> --clientID <client-id> --clientSecret <client-secret>
timeout 5
"C:\Program Files\UiPath\Studio\UiPathAssistant\UiPath.Assistant.exe"

Regards
Soren

3 Likes

Hello @Soren,

I tried to run this code as bat file with cloud url, client id and client secret, I am getting “Cannot find a UiPath web service at given address” Do we have to format the cloud orchestrator URL?

It is working for On-Prem Orchestrator settings

Hi @Ranveer_S_Thakur

I have configured my Orchestrator Cloud URL as such:

https://cloud.uipath.com/orgname/DefaultTenant/orchestrator_

Regards
Soren

1 Like

Thank Soren! It is working now.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.