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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Export Report user list to CSV/Excel

Hi,

I need to export the list of my Report users to a CSV or Excel file. However there seems to be no option to do that. When I try to copy the content from the Power BI service HTML page, its either not working or the copied values are not in <TR> <TD> format. Its all jumbled up!
This happens both in the Manage Security and the "Shared User list"
I cant beleive we dont have this feature yet

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @Anonymous ,

I checked power bi REST API but haven't found any API can export report users. (it only allow you to export users list for group or gateway datasource)

Maybe you can consider tracing power bi audit log to extract specific logs that logged users view power bi reports. (you can group users by viewed report id)

Use auditing within your organization

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

4 REPLIES 4
v-shex-msft
Community Support
Community Support

HI @Anonymous ,

I checked power bi REST API but haven't found any API can export report users. (it only allow you to export users list for group or gateway datasource)

Maybe you can consider tracing power bi audit log to extract specific logs that logged users view power bi reports. (you can group users by viewed report id)

Use auditing within your organization

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Ugly but efficient.....

 

open the share page in Chrome, and then start a developer mode using F12

 

in the console area type the following command:

 

$('span.emailColumn').each(function() { console.log ($(this).text())})

This will give you all the mail addresses 🙂 in a list

 

or.... even cooler:
$('.permissionTable li').each(function() { console.log ( $(this).children('span.nameColumn').text(),",",$(this).children('span.emailColumn').text(),",",$(this).children('span.memberAccessColumn').text())})

 

which will give you a CSV list in the console to be copy/pasted

 

Anonymous
Not applicable

Thanks Alexander.  Looks like there's been some code change and it isn't working any more.

Have you managed to get this working with the new layout?

no... unfortunately not...
at the moment there is no one in my organisation asking for this report, so I can't spend time working on it 😞

maybe you can work it out yourself with the clues in the previous messages in the thread...

good luck 🍀

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.