assign_license
Assign a Microsoft 365 license to a user by providing the user ID and SKU ID, with optional disabled service plans for granular control.
Instructions
Assign a license to a user
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user_id": "<user_id>",
"sku_id": "<sku_id>"
},
"name": "assign_license"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku_id | Yes | The SKU ID of the license to assign | |
| user_id | Yes | The user ID or user principal name | |
| disabled_plans | No | List of service plan IDs to disable (optional) |