Assign License To User
assign_licenseAssigns a Microsoft 365 license to a user, setting usage location when provided and failing clearly if missing.
Instructions
Assign a license to a user. Sets usageLocation first when provided; fails clearly if the user has no usageLocation.
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": "<user>",
"license": "<license>"
},
"name": "assign_license"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | ||
| license | Yes | ||
| disabledPlans | No | ||
| usageLocation | No |