There are two ways to solve your issue.
First, with the current settings,
Go to Admin → Tenants → Edit License: Allocate the available license.
Go to Admin → Organization Settings → Advanced Settings (User License Management) → Enable ,if it is disabled.
Go to UiPath Assistant → Preferences → Orchestrator Settings → Connect with Service URL and also same with the studio.
Second, have to connect it using a machine key.
First, disconnect your assistant and select Machine Key option as the connection type and you will find the machine name.
Copy that machine name, and in orchestrator → Tenants → Machine → Create Standard Machine → Machine name should be the name which you copied from the assistant and allocate the license also based on your requirement.
Then, Go to Tenants → Folders → Create Folder (Modern Folder) and once created select the folder in the same screen & select machines → Manage Machine in Folder & select the machine which you have created recently.
Now once allocated, copy the machine key and paste into Assistant and URL is the tenant URL (usually: https://cloud.uipath.com/TenantName/id/orchestrator_) and paste it into the URL field and click connect & it should show as Connected, Licensed
What kind of license do we need for this setup? It’s Attended Named Users licenses enough?
I have this scenario: 20 users with Non Persistent VDIs and 5 Attended Licenses. I’m trying to make them use the licenses only when they need to run something, otherwise they should disconnect the robot and free the license used. I created both standard/template machine and connect to Assistant, but i’m getting the same erorr: “Connected to Orchestrator. Unable to retrieve a license (please contact your IT department)”. Any tips here?