Question
There are failures in license assignment via API for some users.
Error message: An unattended robot has not been configured, or the domain/username is not properly set up in Orchestrator. Error code 1420
Answer
Cause
Delay in license reflection after group addition, or a timing issue with the connection on the Assistant side. The relevant user signed in to the Assistant without being a member of the group eligible for license assignment, resulting in Error 1420.
Solution
Solution: By using the API to explicitly assign licenses on a per-user basis, you can assign licenses to the target user without relying on group assignments when signing into the Assistant.
Resolution Steps:
-
Confirm that licenses are assigned to the Automation Users group.
-
Confirm that the group addition API returns 200 OK.
-
Confirm that the membership of the group with license assignment rules cannot be verified from the processing side.
-
Use the PUT {URL}/lease_/api/account/{accountId}/user-license endpoint to explicitly assign licenses on a per-user basis.