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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Power BI Report Embedded in Dynamics 365

Hey Community, 

 

I had a question on the issues I am facing when Embedding a Report (not dashboard) in Dynamics 365. 

Here is my strategy:

- I create a new dashboard in Dynamics and I create a new Web Resource within Dynamics to host the iframe.

- I then just display that iframe in the Dynamics Dashboard

I do not use the native Power BI integration because that only allows for Power BI dashboards and I need a full report in Dynamics.

 

The issues:

- The boards on the report within Dynamics are huge

- The report is not dynamically resizing when shifting from a large monitor to a laptop.

 

Here is my HTML code for the iframe:

<html><head><meta><meta><meta><meta><meta><meta><meta><meta><meta><meta><meta><meta><meta><meta></head><body onfocusout="parent.setEmailRange();" data-new-gr-c-s-loaded="14.991.0" style="overflow-wrap: break-word;">
<iframe width="1600" height="670" src="https://app.powerbi.com/" frameborder="0" border-style="none" allowfullscreen="true"></iframe>
</body></html>

 

Also, I have attached some images. Please let me know if anyone has seen these issues or fixed them!

 

Best,Right_side.pngLeft_Side.png

2 REPLIES 2
Anonymous
Not applicable

I still haven't found a great solution to this problem. The code below is what I have found works best:

 

<html><head><meta><meta><meta><meta><meta><meta><meta><meta><meta><meta><meta><meta><meta><meta></head><body onfocusout="parent.setEmailRange();" data-new-gr-c-s-loaded="14.1007.0" style="overflow-wrap: break-word;">
<iframe src="YOURLINKHERE" onload="javascript&colon;(function(o){o.style.height=o.contentWindow.document.body.scrollHeight+&quot;px&quot;;}(this));" style="height:100%;width:100%;border:none;overflow:hidden;"></iframe>
</body></html>
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

See if this tool is helpful. It has helped me solve similar problems before

https://lukaszpawlowski-ms.github.io/Optimize-Publish-To-Web/ 

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.