Forum Discussion

luigisax89's avatar
luigisax89
Regular Visitor
5 months ago
Solved

API to grant report acess

Hi everyone,

I’m looking for the best solution to my problem. We have Power BI Service where we upload reports and share them with colleagues via direct access. I want to automate access management through APIs. So, if a user changes departments and should no longer see a report, they are automatically removed. Conversely, if they are added to a department, they should gain access to the report. What are the best practices? Are there APIs to add or remove users with direct access?

 

Thx

    1. Create Entra ID groups per department (or per access bundle), e.g. PBI_Sales_Readers, PBI_Finance_Readers.

    2. Grant the group access to the report.

    3. Your HR/IT system updates group membership when department changes.

    Result: users automatically gain/lose access without touching Power BI items.

2 Replies