fabric_add_workspace_role_assignment
Assign a workspace role (Admin, Member, Contributor, or Viewer) to a user, group, or service principal in Microsoft Fabric.
Instructions
Add a member (user/group/service principal) to a workspace with a role (Admin/Member/Contributor/Viewer).
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": {
"principalId": "<principalId>",
"principalType": "<principalType>",
"role": "<role>"
},
"name": "fabric_add_workspace_role_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Workspace ID (defaults to FABRIC_DEFAULT_WORKSPACE) | |
| principalId | Yes | Principal (object) ID | |
| principalType | Yes | Principal type | |
| role | Yes | Workspace role |