Forum Discussion
Can I Add/update Row-level security of dataset via Rest API?
I need to implement Secruity on DataSet present in PowerBI Service
Scenario
1) Download the Dataset and Add roles + Related filteres using Manage Roles options in the PowerBI Desktop.
2) Upload the Dataset
3) (This step which i really would like to Automate using REST api calls)
- Right click on Dataset
- Click on Security
- All Roles that i have defined in pbix file of Dataset are present now
- I add email address as Members and click save
Requirment
I need to automate the step 3 using Rest API.
I have a mapping database(A simple Excel file) in which i have a mapping of Email to Role e.g 500 Records
I only need to read that mapping and make RESTAPI call for each of the record present in my mapping database
Once completed. If some one opens the security of DataSet he should see the mapping in ROW -LEVEL-Security Section
Ask
Which API call should I use and how ? C#.net is my key langauge here.
2 Replies
- GilbertQ
Super User
Hi YasirFazal
As far as I am aware this is not currently possible via the APIs.
You can vote for the idea on https://ideas.powerbi.com
- YasirFazalNew Member