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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Responsive Resident
Responsive Resident

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors