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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Rafael2
New Member

Power BI Embed on AppOwnsData scenario Dynamic Binding does not work

Following the documentation at:
https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/bind-report-datasets

I created a report that connects to Database A.
I cloned the report and connected it to Database B.

Both are identical (except for data).

Both are added to Azure on the same account, same permissions.

I can use the sample from https://github.com/microsoft/PowerBI-Developer-Samples/tree/master/.NET%20Core/Embed%20for%20your%20...
and connect to both.

But when I try to use dynamic binding and make report A connect to Dataset B, it doesn't work. It either opens the original dataset if I leave the dataset id on the token request, or nothing shows up if I omit it.

I am sending both dataset IDs to the token request.

Even setting the id on the javascript options as the documentation above mentions, it doesn't work.

Apparently there's an 403 error.

1 ACCEPTED SOLUTION
Rafael2
New Member

Fixed, the problem was that the javascript on the example app was not marked with asp-append-version="true".
So the changes in ID I was making were not taking effect.

View solution in original post

1 REPLY 1
Rafael2
New Member

Fixed, the problem was that the javascript on the example app was not marked with asp-append-version="true".
So the changes in ID I was making were not taking effect.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors