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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Tom-CK
New Member

Set "Build"-permission for a dataset programmatically

In our workspace in PowerBI service there is a shared dataaset.
The users for this workspace are changing very often, so I created a script in PowerShell to process a list of users and grant them "View" permissions to the workspace.

Now we found out, that users additionally need a "build"-permission granted on a shared dataset - otherwise they are not able to export data to excel (see Build permission for shared datasets - Power BI | Microsoft Docs).

Is there any solution (PowerShell, Rest-API, .....) to grant the build permisssion for a shared dataset porgrammatically ?

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @Tom-CK ,

 

I'm afraid there isn't such a API for now. You could create a new idea to help improve power bi.

https://ideas.powerbi.com/ideas/ 

As @lbendlin mentioned earlier, you can also use it as an alternative .

 

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

lbendlin
Super User
Super User

Instead of granting access to users consider to move your access process to distribution lists, and manage list membership outside of Power BI.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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