IT Automation Activities
Last updated Jun 11, 2024

Assign License



Assigns a license for a user.

Project Compatibility

Windows - Legacy | Windows | Cross-platform


  • DisplayName - The display name of the activity.
  • LicenseID - Specifies the unique identifier of the license to be assigned. This field supports only strings and String variables.
  • DisabledServicePlans - Specifies the list of unique identifiers for service plans that should be disabled. This field supports only strings and String variables.
  • UserIdOrUpn - Specifies the User Principal Name (UPN) or the Object ID of the user. This field supports only strings and String variables.
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.


Before assigning a license to a user make sure to specify the Usage location from Azure Active Directory > Users > Profile > Settings area in Azure AD.

If the location of the user is not specified, then it inherits the location of the Azure AD organization.

Check source here.


This activity requires one of the following permissions to be set:

  • Delegated - User.ReadWrite.All, Directory.ReadWrite.All
  • Application - User.ReadWrite.All, Directory.ReadWrite.All

Note: You can use the GUID and Service plans provided here.
  • Description
  • Project Compatibility
  • Configuration
  • Permissions

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.