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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Set Dataset Permissions for Entire Organization through API

We have a workspace containing datasets that should be available for the entire organization to read and to build their own reports on. Since the content updates frequently we are using DevOps CI/CD pipelines to keep the content up to date.

I want to use the REST API to set ReadExplore permissions to these datasets for the entire organization.

According to the documentation you should be able to set the principalType to "None" to grant access for the entire organization.

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/put-dataset-user-in-group#principaltype 

 

However, when I test this call in Postman I get an error:

Body:

 

 

{
  "principalType": "None",
  "datasetUserAccessRight": "ReadExplore"
}

 

 

  

Error:

 

 

{
    "error": {
        "code": "InvalidRequest",
        "message": "API supported only for User or Group principal types"
    }
}

 

 

Am I missing something here or is the documentation wrong on this fact?

 

3 REPLIES 3
lbendlin
Super User
Super User

 

Since the content updates frequently we are using DevOps CI/CD pipelines to keep the content up to date.

 

 

That is not really related to the app permissions.  You can set these once when you publish the app. No need to do this via API, or to update this whenever your content changes.

Anonymous
Not applicable

I am not talking about APP permissions, I'm talking about DATASET permissions

In your AD find PDLs that cover your entire audience. Add these PDLs to the dataset permissions.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors