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
acbg
Resolver III
Resolver III

Rest API read only to dataset

Is there a way to give someone access to Rest API but no workspace access?

 

I just want the user to be able to do rest api on a particular report/dataset and that person has build access on top of the datset.

 

Just don't want them to edit anything in the workspace, only want them to query the dataset via rest api.

 

Is there any other way to achieve this without giving full Contributor or Admin level access to the workspace?

 

Will just read only to workspace access allow them to use rest api?

1 ACCEPTED SOLUTION
acbg
Resolver III
Resolver III

Figured out to query the dataset you need to have member or admin priviliges on the workspace:

acbg_0-1689080429557.png

 

View solution in original post

2 REPLIES 2
acbg
Resolver III
Resolver III

Figured out to query the dataset you need to have member or admin priviliges on the workspace:

acbg_0-1689080429557.png

 

v-yueyunzh-msft
Community Support
Community Support

Hi , @acbg 

Based on my understanding on the "Rest API" feature in the Power BI service, it used the AAD token to access the Power BI content and make the operations based on the user account who generate the AAD token, this means that the user can only make the operations and read the data that they have access to in this account in the Power BI service, so if you want to give the users access to have build access on top of the datset without giving full Contributor or Admin level access to the workspace, you can consider directly give the user access a separate access to the dataset in the "Manage permission":
Manage dataset access permissions - Power BI | Microsoft Learn

 

vyueyunzhmsft_0-1688702563435.png

 

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

 

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