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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Zawadowski
New Member

Get PowerBi Audience users via REST API?

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!

4 REPLIES 4
anwarbham
Regular Visitor

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.

anwarbham_2-1752598033882.png

 

 

below is an extract 

 

 

anwarbham_1-1752597911533.png

 

 

olszykn
Advocate I
Advocate I

sure but its been 3 years and no update from ms if this will be a available

lbendlin
Super User
Super User

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 .

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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