Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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?
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.
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.
User | Count |
---|---|
34 | |
16 | |
13 | |
10 | |
8 |
User | Count |
---|---|
52 | |
31 | |
24 | |
17 | |
15 |