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,
I've got a report showing all applications and users having access to these applications. Some of the applications have multiple audiences with different users assigned.
When querying PBI Service with GetAppUsersAsAdmin API call I am receiving a list of users but there is no audience name. In result, it seems like these users have access to all reports in the application which is obviously not correct.
Is this possible to somehow get app audience and associated users? Thanks!
Hi there is an undocumented method but i cannot seem to get it working
if you make a get call to
https://wabi-north-europe-l-primary-redirect.analysis.windows.net/metadata/appmodel/apps/WoprkspaceO...?requestDataType=7&access-control-allow-credentials=true
but you need a bearer token and our bearer token that can access other PBI api does not work.
must be a permission issue .
but if you copy a bearer token from when you log in to power bi via f12 developer mode it does work.
i get a json response with the app and audiance name and members .
if anyone can help me how to get the correct bearer token i would appreciate this.
below is an extract
There is an open idea out there that is being investigated. https://community.fabric.microsoft.com/t5/Issues/GetAppUsersAsAdmin-API-Audience-Support/idi-p/28336...
sure but its been 3 years and no update from ms if this will be a available
Long standing gap. pretty much since the day audiences came out. We have complained loudly to Microsoft about it and all we got back is crickets. Make some noise on your side, raise a ticket, demand a bug fix.
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 .
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
2 |
User | Count |
---|---|
8 | |
6 | |
4 | |
4 | |
4 |