UiPath deprecates machine key authentication in Automation Cloud on July 1, 2027. How we'd move robots to client credentials
UiPath is deprecating machine key robot authentication in Automation Cloud on July 1, 2027. Unattended robots move to client credentials and attended robots to interactive sign-in. Here's how to find the robots still on machine keys, the traps in each switch, and the order we'd move them in.
part 71 of 71 · Platform releases, explained from scratchthe ideaMachine keys never expire. Client credentials give you tokens that do.
after reading, you can- Find every robot that still connects to Orchestrator with a machine key, using the new alert
- Plan the move of unattended pools to client credentials without stopping running jobs
- Spot the attended workflows that would break under interactive sign-in, and fix them before you switch
UiPath is retiring machine keys, the never-expiring passwords many robots still use to connect to Orchestrator in Automation Cloud. Move unattended robots to client credentials and attended robots to interactive sign-in before July 1, 2027, and start with the robots that run payroll, payments or anything else people would miss.
Your robots log in to Orchestrator with a key that never expires, and UiPath wants that gone
A UiPath robot is software that does clerical work on a computer, like copying invoices into an ERP. Orchestrator is the cloud console that hands it jobs. Before a robot gets any work, it has to prove who it is. For years the usual way was a machine key: one long code, pasted in once, that never expires. UiPath has now put a date on it. Unattended robots should switch to client credentials, an ID and secret that get exchanged for short-lived tokens. Attended robots, the ones that sit next to a person, should switch to that person signing in.
Think of a staff entrance. Some doors open with a code that hasn't changed in years and is written on a sticky note. The new rule gives each robot a badge that has to be re-checked at the desk every shift, and gives each person their own login. Lose a badge and you cancel that badge without changing every lock.
- Automation Cloud tenants with robots
- Orchestrator and tenant admins
- Automation CoE leads
- Identity and security teams
- Anyone with robots on old machines
Why a login setting is worth a project
Machine keys are the kind of credential auditors circle. The token behind them never expires, so a key copied into a build script or a config backup years ago still works today. Every copy of a machine keydefinitionThe code a robot has used to connect to Orchestrator, often for years, because its token never expires. Orchestrator 2020.10 and older called it a robot key. is the same key, so you can't tell where a connection came from. Client credentialsdefinitionHow a robot logs in on its own behalf under OAuth 2.0. It hands over a client ID and secret and gets a token back that runs out. still start from a secret, but the robot trades it for a token that expires, and you can cancel one secret without touching the others.
The real risk is the cutover itself, and it mostly lands on the business. If an unattended robot loses its connection, its jobs just don't start. Queues fill up, scheduled runs get skipped, and somebody in finance notices days later that a batch never posted. Attended users see a different problem: their processes vanish from the Assistant until they sign in.
Read the dates carefully. UiPath's deprecation timeline lists July 1, 2027 as the deprecation date and doesn't show a removal date yet. Some teams will read that as room to wait. We wouldn't. UiPath tells customers to switch before that date, and the release note says to call UiPath Support if you expect problems or need help moving. Plan for July 1 and don't count on anything working after it.
-
01 Old: robot sends its machine key
Someone pasted the machine key in when the machine was first set up, often years ago. The robot still sends that same key, because it never expires.
-
02 Old: Orchestrator lets it in
Anyone holding a copy of that key can connect a robot as that machine. Changing it means touching every host that uses it.
-
03 New: robot asks which method to use
You give the robot a client ID and secret from a machine object. When it connects, it first asks Orchestrator which login method the tenant uses and gets told client credentials.
-
04 New: trades the secret for a token
It sends the ID and secret to UiPath's Identity Server. If they match, the robot gets an access token. That token expires, which is the whole point of the change.
-
05 New: token opens Orchestrator
The robot calls Orchestrator with the token. Orchestrator checks it and serves the job, the asset or the queue item.
-
06 New: one secret can be cut off
An admin can delete a secret on the machine object. Every host using that secret disconnects and its running jobs stop.
For engineers: client credentials are OAuth 2.0. The robot acts as itself and doesn't impersonate anyone, so Orchestrator checks the robot's own permissions on every call. Attended robots work differently. With Interactive Sign-indefinitionThe attended setting where each person signs in to the UiPath Assistant with their own account. Their robot runs on that login, and nobody needs a machine key. SSO the user signs in through the Assistant and the robot runs on that user's token, and UiPath says you don't need machine objects for them at all.
What UiPath changed, and the warnings you may already be getting
The deprecation and the settings around it
Automation Cloud only. The deprecation date is 1 July 2027. Orchestrator 2020.10 and earlier called it robot key authentication, so older runbooks use that name.
Pick Hybrid for attended or unattended robots and the tenant's Robot security settings now show a warning. It started appearing in November.
Also from November 2026. Orchestrator sends this alert for each standard machine that still connects with a machine key only. It's the closest thing to a ready-made inventory.
The recommended setting. Connections use expiring tokens only. The client ID and secret come from a machine template or standard machine in Orchestrator.
UiPath's recommended setting for attended robots. People sign in through the Assistant themselves. Workflows that call Orchestrator on old activity packages have to be recompiled first, or their jobs can fail.
Hybrid accepts machine keys alongside the newer methods, which is what lets a tenant migrate gradually. UiPath hasn't deprecated Hybrid itself, but the new warning shows while it's on.
The two new warnings help a lot. Before November, Orchestrator had no built-in warning for these robots. Now Orchestrator raises an alert per standard machine. Subscribe the CoE mailbox to it this week and you'll have a working list before you've written a plan.
One limit to keep in mind: the alert covers standard machines connecting with a machine key only. Machine templates can hand out machine keys too, since UiPath's unattended setup guide says to copy the machine key and/or the client ID and secret when you create one. So check templates by hand as well. Look at how each host was connected, not only at what the alerts say.
The timeline entry is scoped to Automation Cloud. The December note sits in the Automation Cloud release notes, and standalone Orchestrator and Automation Suite aren't named in this entry. If you run those, check the robot authentication page for your own version before planning anything. Just don't treat July 1 as their deadline until UiPath says so.
| What | Machine key | Client credentials | Interactive sign-in |
|---|---|---|---|
| Used by | Attended and unattended robots | Unattended robots (attended can use it too) | Attended robots |
| What the robot holds | One key that never expires | Client ID plus secret, traded for expiring tokens | The signed-in user's session |
| Tenant setting | Hybrid | Client Credentials (recommended) | Interactive Sign-in SSO (recommended) |
| Needs a machine object | Yes | Yes, a template or standard machine | No |
| Minimum Robot version | Any | 2022.2 | Not stated |
| Before you switch | Nothing, it's the old way | Upgrade robots older than 2022.2 | Recompile workflows on old packages |
| Revoking access | Not documented per host | Delete one secret on the machine object | Not covered on this page |
| Status after Dec 2026 | Deprecated on 1 July 2027 | Recommended | Recommended |
Dates to plan around
- Oct 21, 2026Robot 2024.10 leaves mainstream support
Extended support runs to 21 October 2027, with a further year of limited support for Gold and Platinum customers. Any robot older than 2024.10 is out of support already.
- Nov 2026Warnings arrive in Orchestrator
You'll see a warning on the Robot security tab while Hybrid is on. Each standard machine still on a machine key also triggers an alert.
- Nov 12, 2026Robot 2026.10 LTS released
Robots on this line install through the UiPath Platform Installer, with mainstream support until 12 November 2028. If you're upgrading old robots anyway, it's the newest line to aim for.
- Dec 2, 2026Date announced
UiPath puts the date in its Orchestrator release notes. That gives most teams about seven months to move every robot.
- Jul 1, 2027Machine key authentication deprecated
Have every robot moved before this date. UiPath hasn't published a removal date, and we wouldn't bet on a grace period.
- Oct 21, 2027Robot 2024.10 extended support ends
If robots are still on 2024.10, upgrade them in the same change windows. You only visit each host once that way.
Your options for each kind of robot
Unattended robots don't really have a choice: it's client credentials. The decision is how you group them. A machine templatedefinitionAn Orchestrator object you set up once so robots on many hosts can connect with the same settings. They share its credentials too. lets many hosts connect with one client ID, and UiPath's unattended guide describes exactly that: define the configuration once and let many robots use one set of credentials. That's convenient. It also means one secret can now take down a whole pool if somebody deletes it.
- Fewest objects to set up, so the first cutover is quick
- Every host in the pool uses the same secret
- Someone deletes that secret and every host drops, mid-job
- Rotating means one change window for the whole pool, and everyone waits on it
- More setup at first. Each pool needs its own template or secret
- If a secret leaks, only the hosts that used it are exposed. The rest keep running.
- You rotate one pool at a time while the others keep working
- Each secret's ID maps back to the hosts using it
Attended robots are mostly a packaging job. Interactive sign-in only works cleanly if every workflow that talks to Orchestrator was built with 2020.10-era packages or newer. UiPath warns that jobs can fail if a project still depends on UiPath.System.Activities below 20.10.0, UiPath.Persistence.Activities below 1.1.7, UiPath.DataService.Activities below 20.10.0 or UiPath.Testing.Activities below 1.2.0. Studio's Project Dependencies Mass Update Tool bumps them in bulk. Test before you republish.
What to do now, by role
Who does what before July 2027
- Ask your automation lead how many robots still connect with a machine key, and which processes they run.
- Name the processes that can't miss a day, like payroll, payments and month-end, so they're moved early and watched closely.
- Agree a change freeze around each cutover so nothing else goes live that week.
- Subscribe the team mailbox to the Machine key authentication deprecated alert and keep each hit in a tracker.
- Check Tenant > Settings > Robot security and note whether attended and unattended robots are on Hybrid.
- List every machine template and standard machine. Note how each host was connected, because the alert won't catch them all.
- Run the Project Dependencies Mass Update Tool on attended projects that still use packages older than the 20.10-era minimums.
- Republish and test those processes with a user signed in to the Assistant before the tenant leaves Hybrid.
- Remove any machine key from scripts, golden images and config files once the host has moved.
- Put each client secret and its Secret ID in the vault as soon as it's created. UiPath shows the secret once and never again.
- Decide how often secrets get rotated, and who's allowed to delete one.
- Treat the old machine keys as exposed credentials and confirm none still connects after cutover.
# example only. Run on the robot host, from the folder where the Robot is installed. # Use a maintenance window: --wait only disconnects once no jobs are running. UiRobot.exe disconnect --wait UiRobot.exe connect --url https://cloud.uipath.com/<org>/<tenant>/ --clientID <client-id> --clientSecret <client-secret> # UiPath's docs say to escape every $ in the secret when you use PowerShell. Their example turns Bepx8O3XqSHrt$ZU into "Bepx8O3XqSHrt""$""ZU"
Two things trip people up on the host. The Orchestrator URL has to include the organization and the tenant, or the connect fails. Then, if someone opens the Assistant on an unattended host in an active session, it shows a warning dot and "Connected as Unattended". Windows Event Viewer also logs a 401 InvalidLoginMethod error. UiPath notes that error is logged whenever a robot is connected as Unattended, so on its own it's no reason to roll back.
Harden it so the next credential change is boring
The order we'd work in
- 01Build the inventory from the alerts
Start with the deprecation alerts, then add machine templates by hand. For each host, record the machine object, the processes it runs, its Robot version and who owns it.
- 02Upgrade robots older than 2022.2
They can't use client credentials at all. Since anything older than 2024.10 is out of support anyway, move them to 2025.10 or 2026.10 LTS while you're there.
- 03Split templates where it matters
Give critical pools their own template or their own secret, so deleting one secret can't stop unrelated work.
- 04Put secrets in the vault before provisioning
Copy each secret and its Secret ID straight into your vault. UiPath only shows the secret once, so if it ends up in a chat message or a ticket, you're rotating it again.
- 05Move pools one at a time
Reconnect a pilot pool, watch a full business cycle of jobs, then do the next. Leave the tenant on Hybrid until every robot has moved.
- 06Switch the tenant setting last
Change unattended to Client Credentials and attended to Interactive Sign-in SSO once the alerts have gone quiet and you've checked every host connected through a template. Then watch the alerts and job failures for a week.
- 07Rotate by adding, then deleting
For each rotation, add a new secret on the machine object, reconnect the hosts with it, and only then delete the old one. Deleting first stops running jobs.
Before: one key, copied everywhere
The same never-expiring key sits on every host and in a few scripts nobody has opened in years.
After: secrets in a vault, tokens that expire
We give each pool its own secret and keep it in the vault. Orchestrator only takes tokens that expire, so an old copied key gets nobody in.
If the cutover goes wrong
Robots dropped off after the switch? Check these in order
Most failures here are one of three things: a host still on a machine key after the tenant left Hybrid, a secret deleted too early, or an attended workflow built on old packages. Start by getting jobs running again, then fix the cause.
- 01Get jobs runningfirst hour
- If the tenant was just switched off Hybrid, switch it back for now. Machine keys connect again while you find the stragglers.
- Somebody deleted a secret too early? Add a new one on the same machine object and reconnect the hosts that dropped.
- Restart the queues and triggers that missed runs. Then let the process owners know what ran late, so nobody finds out from a customer.
- 02Find the causesame day
- Check the deprecation alerts for machines still on a machine key only.
- On the host, read the Robot's Windows event logs. UiPath says a 401 InvalidLoginMethod gets logged on any host connected as Unattended, so don't stop there.
- If only attended users are failing, look at the project's System, Persistence, DataService and Testing package versions. Old ones are what UiPath warns about.
- 03Fix and retestthis week
- Reconnect stragglers with client credentials, or upgrade them first if the Robot is older than 2022.2.
- Recompile and republish attended workflows on newer packages, then test with a user signed in.
- Retry the tenant switch in a quiet window, with the process owners on standby.
- 04Close it outafter cutover
- Strip the old machine keys out of scripts and golden images. A key nobody uses is still a key someone could copy.
- Write down which secret belongs to which pool and where it's kept. Name the person who rotates it, so nobody has to guess next year.
- Put the first rotation in the calendar. You want to have done it once on a calm day before you ever need to do it in a hurry.
Three made-up cases, and what we'd do in each
- the setup
- One VM runs invoice posting overnight. It was connected with a machine key years ago by a contractor, and nobody has the key written down.
- what happens
- Nothing breaks until the tenant leaves Hybrid. Then the robot stops connecting, the overnight run doesn't start and invoices wait in the queue.
- what to do
- Create a client secret on the machine object, store it in the vault, reconnect the VM with client credentials in a quiet hour and watch one full overnight run.
- the setup
- A shared services team runs forty hosts on one machine template. When they move to client credentials, the whole pool ends up sharing one client ID and one secret.
- what happens
- Months later someone rotates by deleting the old secret before adding a new one. Every host disconnects at once, and running jobs halt mid-transaction.
- what to do
- Rotate by adding a new secret first, reconnecting hosts, then deleting the old one. Split the pool by business area so one secret can't stop everything.
- the setup
- Sales reps run attended automations from the Assistant. Some processes were built years ago on old System activities and still call Orchestrator for assets.
- what happens
- The tenant moves to Interactive Sign-in SSO. Reps sign in and see their processes, but the older ones fail when they try to read assets.
- what to do
- Run the Mass Update Tool on those projects, republish, test with a signed-in user, and only then switch the attended setting.
How Cohash helps
We run this as an identity project. First we build the inventory from the alerts and the machine objects. Then we plan the pools, set up secrets in your vault, move one pool at a time and only switch the tenant setting when nothing's left on a machine key. If robots older than 2022.2 or projects on old packages turn up, we fold those upgrades into the same plan. See our UiPath work, bring in UiPath engineers for the cutover weekends, or start with an assessment.
What to take from this
- 01
Machine key authentication in Automation Cloud is deprecated on 1 July 2027. Move every robot before then.
- 02
Unattended robots move to client credentials, and those need Robot 2022.2 or later. Attended robots move to people signing in, so check old workflows first.
- 03
Orchestrator already warns you: a Robot security tab notice while Hybrid is on, and an alert per standard machine still on a machine key.
- 04
A machine template's secret can be shared by many hosts. Deleting it stops all of them, so rotate by adding first.
- 05
Switch the tenant off Hybrid last, after the alerts go quiet and the template hosts are checked. Keep the old keys out of scripts and images.
01Will our robots stop working on July 1, 2027?
UiPath calls July 1, 2027 the deprecation date and hasn't published a removal date. It still tells customers to switch before then, so plan as if machine keys stop being an option on that day.
02Which robots are affected?
Any robot connecting to Automation Cloud Orchestrator with a machine key. That covers unattended robots on machine keys and attended robots that still connect with one, which only works while the tenant is on Hybrid. Orchestrator now raises an alert for each standard machine still on a machine key only.
03What do unattended robots switch to?
Client credentials. Create a machine template or standard machine and copy its client ID and secret, then reconnect each host with them. From then on the robot swaps them for tokens that expire. You'll need Robot 2022.2 or later on the host.
04What do attended robots switch to?
Interactive Sign-in SSO. Users sign in through the Assistant. Workflows that call Orchestrator and were built on old packages, like UiPath.System.Activities below 20.10.0, need recompiling first, or their jobs can fail.
05Does this affect standalone Orchestrator or Automation Suite?
UiPath's timeline entry names Automation Cloud only, and standalone Orchestrator and Automation Suite aren't named in it. Check the robot authentication page for your own version before you plan, and don't treat July 1 as your deadline until UiPath says so.
06How do we rotate a client secret without downtime?
Add a new secret on the machine object, reconnect the hosts with it, then delete the old one. Deleting a secret disconnects every host using it and stops their running jobs, so never delete first.
07Where should we keep the client secrets?
Keep them in your enterprise vault, with the Secret ID next to each one. UiPath only shows a secret once and says to store it somewhere safe. You'll need the Secret ID later to pick the right secret to delete.
Three questions, about a minute
Pick an answer and we'll tell you if it's right, and why it is or isn't. The score stays in this browser.
-
Q1Your tenant still shows Hybrid for unattended robots, and no deprecation alerts have fired. Is it safe to switch to Client Credentials?
show the answer
B. Not yet. Check machine templates by hand, since the alert covers standard machines The alert fires for standard machines on a machine key only. Templates can hand out machine keys too, so check how those hosts were connected before you leave Hybrid.
-
Q2You need to rotate the secret for a template that forty hosts use. What order avoids an outage?
show the answer
C. Add a new secret, reconnect the hosts, then delete the old one Deleting a secret disconnects every host using it and halts their running jobs. Adding the new secret first lets hosts move across before the old one goes.
-
Q3After moving to client credentials, an unattended host logs a 401 InvalidLoginMethod error in Event Viewer. What does it mean?
show the answer
B. It's logged whenever a robot is connected as Unattended UiPath notes this error is logged for any robot connected as Unattended. On its own, it's no reason to roll back.