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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ToolsBI
Frequent Visitor

Can i get the public links of all of my workspace reports into PowerBI as a datasource?

So, currently i have the link for the public report copy and pasted into excel so i can have it on a report as data. But i would like to not have to do this if i can avoid. Is it possible to get it in a more automated way? Maybe using the PowerBI API? I am currently trying to use python to extract informations but im not getting anywhere because it seems that the endpoint does not accept GET requests. Im open to suggestions, im hopping that there is a way considering all of this is still Power BI.

8 REPLIES 8
amitchandak
Super User
Super User

@amitchandak  Thanks, but now the command Get-PowerBIDashboard is returning empty. Do you know what might be causing this? Other commands like Get-PowerBIReport are working fine.

Do you have any dashboards created? If yes, then you permissions for the login you used in the API call does not have access. Or, an GUID used to extract is incorrect.

Actually, i dont need that command. Get report gives me something close to what i need, but the links from there are the links or the report in the https://app.powerbi.com/ site, what i need is the public link for the published report, if possible. Is there a way to extract that?

The only way to have a Public link to a report is to use Publish to Web, which is strongly suggested NOT to do. It exposes your data to the web. You could look at Embed Codes to use an Application (written by you and secured by you) to allow access to reports outside of your network.
Power BI Embedded Analytics | Microsoft Azure

The thing is i will share those reports with people that do not have Power BI accounts, so i need a way that does not require you to have an account or the Power BI itself.

It does not sound like a good idea but then you need to either to Publish to Web or buy a Power BI Embedded capacity (there you can configure authentication in the background so the clients dont realize)

Generally however, all users need to have at least a free MS account to access stuff.

But is till need to know how to extract the link for the dashboard. I just want the dashboard so people can look at the report and only look.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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