Connected to orchestrator. Unable to retrieve a license in UiPath Assistant

I have wasted a few hours of my life trying to identify what causes this problem. After consuming some content here on the forum, nothing was leading me to a solution.

A tip, look at the logs in the Event Viewer of the Robot Machine with problems, only after seeing the log I could go in some direction. The log showed me that the Assistant received error 401 from Orchestrator, but in my case, I have two Bots of the standard NonProduction type, so I don’t need authentication with Orchestrator, because both work in service mode and connect with Client Id and Secret or Machine Key Only.

So I checked the settings at my Tenant level (Tenant>Settings>Robot Security>Robot Authentication), and the option "Allows user to connect Assistant and Studio to Orchestrator using sign in or machine key. " was unchecked. Turn that on and see if your Problem persists.

2 Likes