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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors