Resolution for the error thrown when updating license in Orchestrator "Update failed Please disconnect some machines to match the number of defined licenses. (#1905)" .
This error occurs when the runtimes on license has been updated (especially when removed) from UiPath side and when the customer updates the license in Orchestrator.
Example - A customer has 10 Unattended runtimes on a license expiring. With the renewal, the customer decided to have 9 Unattended runtimes and 1 Studio runtime. Based on this requirement, UiPath updates the runtimes on same license code.
The Orchestrator instance of the customer already has 10 Unattended robots provisioned and when the customer tries to update license from Orchestrator, above error occurs as there are 10 Unattended runtimes allocated instead of 9.
Resolution: Below methods can be used to resolve the issue
- Remove existing license by clicking REMOVE button
- Click ACTIVATE ONLINE button and provide the license code again
- Remove Unattended robot in Robots page
- Click UPDATE button in License page
This logic applies to all runtimes and not just Unattended.