Uipath On-Premise and UiPath CLI

Hello, in our organization we have UiPath On-Premise. Right now we want to connect UiPath to CLI to manage automation in orchestrator. The issue is when we use command uip login it forwards us to cloud based site where we don’t have resources. Instead when we try to connect to our local machine by uip login --interactive --tenant "[Tenant]" --authority "https://[our_hostname]/identity it shows Cannot find the requested page

So my question is if there is even a possibility to connect to UiPath on-prem by modern CLI? If yes then how to do it or there is no way to do so?

Could you share a few more details about your environment?

  • Which UiPath Orchestrator version are you running?
  • Is it Standalone MSI/on-prem or Automation Suite?
  • Which UiPath CLI version are you using (uip --version)?
  • What authentication method is configured for Orchestrator (Windows/AD, OAuth, External Application, etc.)?
  • What is the exact URL structure you’re using for Orchestrator and Identity Server? You can mask the hostname/domain if needed.
  • Does https://[your_hostname]/identity open successfully in a browser, or does it also return “Cannot find the requested page”?

Hi @Arashayo

Yes, UiPath CLI can work with an on-premises Orchestrator. In your case, it looks like uip login is using the default UiPath Cloud login, which is why it redirects you to the cloud site.

I would suggest first checking your UiPath CLI version and then verifying the Orchestrator URL, tenant name, and Identity URL used in your on-premises setup.

Also, try opening the /identity URL in a browser to confirm that the endpoint is accessible.

If you can share your Orchestrator version and UiPath CLI version, we may be able to identify the correct login command for your environment.

Hope this helps!