Forum Discussion
Using Fabric Restful API to Manage item permission
- 1 year ago
Hello jovialttu19
Microsoft Fabric’s REST API currently has limited official support for managing granular item-level permissions like adding users to Lakehouses or GraphQL APIs.
Try these endpoints, I haven't tried these personally and these are not documented
POST https://<region-redirect>.analysis.windows.net/metadata/access
GET https://<region-redirect>.analysis.windows.net/m/access/artifacts/<item-id>
The `POST /metadata/access` endpoint is used to grant permissions (e.g., ReadAll for Lakehouses).
• The `GET /m/access/artifacts/{item-id}` endpoint retrieves existing permissions for an itemTo use these endpoints, your Entra ID app must have:
• Delegated permissions: `Item.ReadWrite.All`
• Workspace access: The service principal needs at least `Contributor` role in the target workspaceLet me know if this works
- 1 year ago
Thankyou nilendraFabric for your response.
Hi jovialttu19,Thank you for reaching out to the Microsoft Fabric Community Forum.
Based on my research, the Microsoft Fabric REST API offers limited official support for managing granular item-level permissions. The available official endpoint, Resolve Item Permissions, allows retrieval of permissions for the authenticated principal but does not support assigning permissions.
For permission management, it is advisable to use the Microsoft Fabric portal, which provides a user-friendly interface for assigning roles and permissions to users. You may refer to the following link for detailed guidance on the permission model and management:
Permission model - Microsoft Fabric | Microsoft Learn
We recommend staying updated on API developments by regularly checking the Microsoft Fabric REST API documentation for any official updates regarding permission management.
Additionally, please refer to the following links for further information:
Workload Control - Resolve Item Permissions - REST API (Workload Development) | Microsoft Learn
Microsoft Fabric REST API references - Microsoft Fabric REST APIs | Microsoft LearnIf you find our response helpful, kindly mark it as the accepted solution and provide kudos. This will assist other community members with similar queries.
Thank you.
Hi jovialttu19,
We are following up to see if your query has been resolved. Should you have identified a solution, we kindly request you to share it with the community to assist others facing similar issues.
If our response was helpful, please mark it as the accepted solution and provide kudos, as this helps the broader community.
Thank you.