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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
simsta
Frequent Visitor

Power BI Tenant Level REST API access

Hello there,

 

In my application I want to implement an automated Power BI Refresh via Rest API. Due to the tenant settings it is only possible to select "Read / Write all" when allowing API access on tenant level (see image below).

simsta_0-1720606838927.png

 

My questions are:

1. How does Power BI handle access permissions on workspaces, datasets and reports? Is it handled via common permissions on workspaces etc.?

2. When I have access to the Power BI, can I see or list all reports within the whole tenant or am I prevented of doing that?

 

Thanks a lot

Simon

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@simsta You can set workspace level permissions via Admin, Member or Contributor roles and that gives you access to every item of content in that workspace. Viewer allows read access to every item in the workspace. Or you can set individual permissions on specific items within the workspace. If you have the Fabric Admin role within Azure AD, you have access to everything and can use the REST API to list out every workspace and items within those workspaces



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
mariussve1
Super User
Super User

1. Yes, I have created a security group and putted my app user in this group. Then I gave this security group admin access to all the workspaces.

2. Yes, you have admin api's that give access across your whole tenant. In tenant admin settings in PowerBI you can Grant access to the security group in admin api's.

 

Br

Marius


Br
Marius
BI Fabrikken
www.bifabrikken.no
simsta
Frequent Visitor

@Greg_Deckler  Considering the first question, what about the API permissions when the setting API Access is enabled on tenent-level? Are the permissions according to what workspace access I have, in other words can I access and list datasets which I have no access in PowerBI Service over the API?

@simsta If you have the Fabric Admin role then yes, otherwise, no.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Super User
Super User

@simsta You can set workspace level permissions via Admin, Member or Contributor roles and that gives you access to every item of content in that workspace. Viewer allows read access to every item in the workspace. Or you can set individual permissions on specific items within the workspace. If you have the Fabric Admin role within Azure AD, you have access to everything and can use the REST API to list out every workspace and items within those workspaces



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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