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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors