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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
IhorK
New Member

Power BI Rest API - Remove user access to Report

Hello!

Is it possible to remove access to a Power BI Report for a particular user with Power BI Rest API?
As I found out from the documentation there is an API call to remove a user from a workspace as a whole.
But I need an API call that will be equivalent to UI actions: Report -> Manage Permissions -> Direct access (People and groups with access) -> Remove access.

 

Thank you in advance for your help!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @IhorK ,

 

As far as I know, currently Power BI doesn't support you to add permission or remove permission for users to specitific report by Rest API. You need to share or remove permission manually in Power BI Service as the step you mentioned above.

You may refer to this blog which contains all Rests API for Power BI Report.

Currently the best workaround by Rest API is to add/remove your end user in your workspace and then they could see or not see the report.

For reference: Groups - Add Group User

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @IhorK ,

 

As far as I know, currently Power BI doesn't support you to add permission or remove permission for users to specitific report by Rest API. You need to share or remove permission manually in Power BI Service as the step you mentioned above.

You may refer to this blog which contains all Rests API for Power BI Report.

Currently the best workaround by Rest API is to add/remove your end user in your workspace and then they could see or not see the report.

For reference: Groups - Add Group User

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous ,

I have a similar requirement but want to share the workspace report/dashboard across tenants. 
Is it possible to share access to the workspace across tenants using API?

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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