I’m trying to connect studio with orchestrator using machine key, but getting this error - Connection failed: Could not provision robot. Working on enterprise version. It’s a dev machine.
@ashokkarale @Anil_G @Parth_Doshi @mukeshkala
Could you please cross check below:
-
your orchestrator url? can you share? It should be like below?
https://cloud.uipath.com/{your org name}/{your tenant name}/orchestrator_/ -
your machine key, please verify that you are using the machine key registered against your machine name? are you logged in to the right machine and using the right machine key?
-
Verify the license that you have assigned.
Regards
Sonali
Hi @pravin_bindage,
Don’t login with machine key into Studio. Use Orchestrator URL option to login. Also make sure you are having Developer license assigned to your user id.
please follow the below steps
Step 1: Confirm Your Machine Name
On your dev machine:
- Open Command Prompt
- Run:
whoami- Note the output, e.g.,
CORP\john.doe
- Note the output, e.g.,
- Run:
hostname- Note the machine name, e.g.,
DEV-MACHINE01
- Note the machine name, e.g.,
Step 2: Create a Machine in Orchestrator
- Go to Tenant > Machines
- Click Add Machine > Add Machine Template
- Name:
DevMachineTemplate(or anything) - Assign it to your Modern Folder under “Folders” tab
- Click Create
Step 3: Assign Your User to the Folder
- Go to Tenant > Users
- Find your user (the same one you’re logged into Windows with)
- Click the 3 dots > Edit
- Under Folders, make sure your modern folder (e.g., “Development”) is selected
- Ensure your user has the Automation User or Robot role assigned
Step 4: Orchestrator Settings in Studio/Assistant
- Open UiPath Assistant or Studio > Settings > Orchestrator
- Enter:
- Machine Key: From the Machine Template you created earlier
- Orchestrator URL: https://cloud.uipath.com//
3.(Copy from browser address bar)*
4. Click Connect
Try from assitant and service url..machine key or client id is good for robot
Cheers
