cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
SamRock Regular Visitor
Regular Visitor

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

Accepted Solutions
Community Support Team
Community Support Team

Re: Export Report user list to CSV/Excel

HI @SamRock ,

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 Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Export Report user list to CSV/Excel

HI @SamRock ,

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 Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

View solution in original post

AlexanderK79 Frequent Visitor
Frequent Visitor

Re: Export Report user list to CSV/Excel

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

 

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Solution Authors