
Announcements
I am attempting to display a Power BI report on my web page. I believe I have followed all the steps in the guides. In this post I will share the failure that I get and all the steps I followed. If anyone thinks I have missed a step or have a debugging idea I can try please let me know.
Error:
Liquid syntax error: Syntax Error in 'powerbi' tag. Missing required attribute 'path:[string]'
Steps:
1) In the Power Apps Admin Portal Center I enabled Power BI visualization and moved my Power BI workspace (which contains the report I want to display) to a selected Workspace:
2) I created a Security Group in the Azure Dashboard which has my portal as a member (portal ID came from Power Apps portals admin center):
3) In the Power BI admin portal, under tenant settings and developer settings I enabled "Allow service principals to use Power BI APIs" and applied to the Security Group created in Step 2 above:
4) In my website I inserted a Power BI panel and selected the report I wanted to display. I verified in the source code that this had authentication type "powerbiembedded":
As I said the result of this is the following error (when I preview the page):
"Liquid syntax error: Syntax Error in 'powerbi' tag. Missing required attribute 'path:[string]'"
One interesting thing I've seen is that sometimes when I leave the editor and open it again, it has cleared the attributes I've selected in the Power BI panel:
I don't really have any ideas on how to diagnose this, I've searched the internet for the error but that wasn't helpful. Any ideas would be greatly appreciated
I have now resolved this issue. But it wasn't easy to find the solution!
I had to paste the URL of the Power BI Report (which I obtained from the Power BI Web UI, literally by copying the URL shown by my browser) in to the Source Code for the Power BI frame in the Power Pages tool.
So the Source Code ultimately looked like this: