Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I've created a c# app that queries the Power BI api for Groups, Dashboards, Tiles and Reports. I can successfully return Groups, Dashboards and Reports names and embed URLs for Reports. I get a "NotFound" error when I try to use the
GET https://api.powerbi.com/beta/myorg/dashboards/{dashboard_id}/tiles URL for the request for Tiles. When I try to open a Report using the embed url in the iframe it continutes to try to load showing the travel dots across the page. Has anyone else experienced this? Thank you.
Solved! Go to Solution.
So I've fixed the other issue of not being able to find the tiles api url. This might need updating in the documentation. It appears that for a users workspace you use: "https://api.powerbi.com/beta/myorg/dashboards/" + ds1.Id + "/tiles", however for groups you need to qualify with the specific group id: "https://api.powerbi.com/beta/myorg/groups/" + ds1.Id + "/dashboards/" + ds3.Id + "/tiles". This was a little confusing. But now I show all dashboards, reports and tiles.
So I've fixed the other issue of not being able to find the tiles api url. This might need updating in the documentation. It appears that for a users workspace you use: "https://api.powerbi.com/beta/myorg/dashboards/" + ds1.Id + "/tiles", however for groups you need to qualify with the specific group id: "https://api.powerbi.com/beta/myorg/groups/" + ds1.Id + "/dashboards/" + ds3.Id + "/tiles". This was a little confusing. But now I show all dashboards, reports and tiles.
So I fixed the first one. I was indeed injecting the token in the iframe but it was tied to the click event for setting the url which was too soon since the url hadn't loaded yet in the iframe. I added an event handler for the iframe onload event and then injected the token and now works as expected.
However I'm still getting a not found error for the api call for the tiles operation. It's as if there isn't a listerner on the other end using the format I referenced above. Thank You
Are you adding a valid access token when you render the iframe?
Yes I am injecting the token. The iframe content appears to be valid because when i inspect the script in the header in the iframe it has all of my relevant info, just the bouncing dots never stops trying to load. I'm also listening for messages from the iframe and below is a snip from the iframe content. Thank you.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
8 | |
7 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
3 |