The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Need help..!
I have implemented powerbi-javascript embedded custmization with Angular 9 web app. I can be able see dashboard charts view, but whenever I change embedUrl ( which is working in browser ) it shows blank page and getting error -
Error: Embed URL is invalid for this scenario. Please use Power BI REST APIs to get the valid
Embed URL:
embedUrl: 'https://app.powerbi.com/reportEmbed?reportId=my-report-id&autoAuth=true&ctid=19ea27d1-****-****-****-63b2c1b248e0&config=eyJjbHVzdGVyVXJsIjoiaHR0cHM6Ly93YWJweyrwerSAiuwyrbSDkyZWRpcmVjdC5hbmFseXNpcy53aW5kb3dzLm5ldC8ifQ%3D%3D&pageName=ReportSection4',
Configuration Object -
const config: any = {
type: 'report',
uniqueId: '40cc1ea5-4ef2-4e63-8c4d-2970a6584be6',
permissions: this.model.Permissions.All,
embedUrl: 'embed-url',
accessToken: 'access-token',
settings: { panes: { filters: { visible: true }, pageNavigation: { visible: false } }
};
Thanks,
Solved! Go to Solution.
Hi @Anonymous
The embed URL you have shown doesn't look valid.
Did you generate it using the REST API? https://docs.microsoft.com/en-us/rest/api/power-bi/reports/getreportsingroup
You should see something much shorter + without the query string parts like (autoAuth=true & pageName=ReportSection4).
I dont think selecting an initial page via the embed URL is supported.
Example URL from the Docs:
https://app.powerbi.com/reportEmbed?reportId=5b218778-e7a5-4d73-8187-f10824047715&groupId=f089354e-8366-4e18-aea3-4cb4a3a50b48
Hi @Anonymous
The embed URL you have shown doesn't look valid.
Did you generate it using the REST API? https://docs.microsoft.com/en-us/rest/api/power-bi/reports/getreportsingroup
You should see something much shorter + without the query string parts like (autoAuth=true & pageName=ReportSection4).
I dont think selecting an initial page via the embed URL is supported.
Example URL from the Docs:
https://app.powerbi.com/reportEmbed?reportId=5b218778-e7a5-4d73-8187-f10824047715&groupId=f089354e-8366-4e18-aea3-4cb4a3a50b48
Thank you @MattCalderwood
I removed query string parts (autoAuth=true & pageName=ReportSection4). and it works fine.
@Anonymous moved to developer forum
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
User | Count |
---|---|
8 | |
5 | |
5 | |
4 | |
2 |
User | Count |
---|---|
10 | |
9 | |
7 | |
7 | |
6 |