Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
I'm using the PowerBI Rest API (GetDatasetUsersAsAdmin) to extract the list of users/ groups which have access to datasets published to the powerBI service.
Using this information I then remove some users/ groups from the App audience, how long do I need to wait until the Rest API results are updated?
Right now I'm deleteing groups/ users from audiences but I'm still seeing them as having access in the API query results.
Many Thanks,
Adam
Solved! Go to Solution.
With the help from MS Support, managed to conclude that removinig users from an App/ Audience doesn't remove their underlying datasets permissions. These have to remove sperately within the dataset settings, when this is done the no longer appear in the "GetDatasetUsersAsAdmin" response data.
With the help from MS Support, managed to conclude that removinig users from an App/ Audience doesn't remove their underlying datasets permissions. These have to remove sperately within the dataset settings, when this is done the no longer appear in the "GetDatasetUsersAsAdmin" response data.
Ah, right, should have read the original premise more carefully. This is why we always recommend to only share via the app, never via the workspace.
Yep much of the issue was from legacy use of workspaces for sharing, however, is worth noting that a user or groups datasets/ schematic model permissions won't automatically be removed if they are removed from an app.
usually within 15 minutes, but it can take up to 24 hrs for the changes to sync through the Entra ID.
Thank you for your repsonse - what is strange is I'm still seeing users and groups which have been removed from the app audiences and row level security rules.
I would call that a bug. If you have a Pro license you can open a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi
Otherwise you can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues .
Thanks for your help - i'll try raising a ticket!
User | Count |
---|---|
5 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
10 | |
7 | |
4 | |
4 | |
4 |