set_table_ols
Set object-level security for Power BI tables: control role visibility by granting Read, hiding with None, or inheriting Default. Creates table permissions automatically.
Instructions
Object-level security: set whether a role can SEE a whole table. permission = None (table hidden + inaccessible to the role), Read (visible), or Default (inherit). Creates the table permission if absent.
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": {
"sessionId": "<sessionId>",
"role": "<role>",
"table": "<table>",
"permission": "<permission>"
},
"name": "set_table_ols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | role name | |
| table | Yes | table to secure | |
| sessionId | Yes | ||
| permission | Yes | Default | None | Read |