Assign Or Unassign License

Assign or remove a license for a user via group membership

Description

Adds or removes a user to a dedicated license assignment group to control license allocation. The license group must match the configured naming convention.

Location

User → General → Assign Or Unassign License

Full Runbook name

rjgit-user_general_assign-or-unassign-license

Permissions

Application permissions

  • Type: Microsoft Graph

    • User.Read.All

    • GroupMember.ReadWrite.All

    • Group.ReadWrite.All

Parameters

UserName

User principal name of the target user.

Property
Value

Required

true

Default Value

Type

String

GroupID_License

Object ID of the license assignment group.

Property
Value

Required

true

Default Value

Type

String

Remove

"Assign the license to the user" (final value: $false) or "Remove the license from the user" (final value: $true) can be selected as action to perform.

Property
Value

Required

false

Default Value

False

Type

Boolean

Back to Runbook Reference overview

Last updated

Was this helpful?