Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Deepak_
Helper I
Helper 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 refered this document but couldn't find what I am looking for https://learn.microsoft.com/en-us/rest/api/power-bi/admin/capacities-unassign-workspaces-from-capaci...  

Thanks in advance 

2 REPLIES 2
vs_7
Continued Contributor
Continued Contributor

Hi @Deepak_ ,

check below steps

Power BI typically revolves around managing workspaces, as dashboards and reports are typically published within workspaces.

  1. 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:
  2. 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.
  3. 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.
  4. 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.

Hi @vs_7 ,

Thanks for your reply,
Point 1 mentioned by you meets my requirement but can this work on cross tenant too? 
Please advise

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.