Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi,
I am wondering if anyone has had any experience with embedding Power BI visuals in SharePoint Online using the JavaScript API? I know there is a simple way to embed to SharePoint but I want to use the capabilities of the JavaScript API to apply some custom layouts and filters through to the SP web part.
A few things:
The main sticking point at the moment is around authenticating the user to get the necessary token. We are having to piece together code elements from a number of different pages and it's not made any easier by some referencing the "old" Power BI Embedded workspace collection process and confusing things!
Does anyone have any experience doing this or is there any reference material online that I have missed?
Thanks in advance!
Power BI do have two options available to embed in SharePoint Online.
1. Through SharePoint Online Embed option, take use of the iframe to embed the Publish to Web URL directly,
2. Use the direct Power BI Icon
I am not sure if using the Embed API directly would work, I will try to confirm that part with some SharePoint guys and update you later.
Regards,
Michael
Hi, is there any update on this? I also need this for my project i'm working on. Thanks
Any updates? I would like to do the same but to add custom filters
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |