Forum Discussion
Deepak_
2 years agoAdvocate I
Can we control access of power BI dashboards using API
Hi Community Members, I am looking to control the access of power dashboard using API. Specfically, I want to remove or give access to dashboards using API. Is there a way to achieve this? I re...
Anonymous
2 years agoNot applicable
Hi Deepak_ ,
check below steps
Power BI typically revolves around managing workspaces, as dashboards and reports are typically published within workspaces.
Workspace Level Access Control:
- Use the Power BI REST API to manage the access permissions for the entire workspace, which includes all the content within that workspace, including dashboards, reports, and datasets.
- You can use the following API endpoints to assign or remove users/groups from a workspace's permissions:
Dataset and Report Level Access Control:
- If you need more granular access control at the report and dataset levels within a workspace, you can set up RLS (Row-Level Security) rules for datasets and configure permissions for specific reports.
- RLS allows you to restrict data access within a dataset based on user roles, and permissions can be managed at the report level within a workspace.
Group Workspace Sharing:
- Consider organizing your content into different workspaces, each with its own access control. You can also use group workspaces to manage access for specific groups of users.
Power BI Service Sharing Options:
- you can share dashboards and reports with specific users or groups by creating sharing links or using the "Share" functionality.
Deepak_
2 years agoAdvocate I
Hi Anonymous ,
Thanks for your reply,
Point 1 mentioned by you meets my requirement but can this work on cross tenant too?
Please advise