remove_flow_owner
Remove a user or group as a flow owner, revoking their access. Works for Power Automate flows in a specific environment.
Instructions
Revoke a principal's access to a flow (DELETE .../permissions/{principalId}) [DISABLED: set ENABLE_WRITE_OPS=true]. Parameters: flow (required), principalId (required), environment (optional). Uses Microsoft's unofficial api.flow.microsoft.com endpoint, which Microsoft labels unsupported; behavior may change.
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": {
"flow": "<flow>",
"principalId": "<principalId>"
},
"name": "remove_flow_owner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | Yes | Flow GUID name (from list_flows). | |
| environment | No | Environment id (from list_environments). Omit to use the user's default environment. | |
| principalId | Yes | Azure AD object id of the user/group to revoke. |