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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Embedding a PowerBI report (app owns data) to Salesforce will not work

Hello everybody,

 

Our company is attempting to embed a PowerBI report to a Salesforce page. Unfortunately, we are rather new with doing this sort of thing. The following 'guide' was found on github explaining how we are supposed to do this.

https://github.com/PowerBiDevCamp/SalesforceAppOwnsDataEmbedding?tab=readme-ov-file#create-the-azure...

 

We have followed the guide to the letter and checked several times if something was forgotten, but we can not find the problem.

When opening the report, the error is very basic and just says "ERROR FORBIDDEN".

 

Is there somebody that is familiar with this setup and can tell me where the problem might be?

Thanks in advance!

 

2 REPLIES 2
SFDCGeo
New Member

Hi,
Did you end up finding a resolution to your issue? I am experiencing the components loading blank. Can you let us know how you fixed your issue?

Anonymous
Not applicable

Hi @Anonymous ,

The "ERROR FORBIDDEN" message you're encountering typically indicates a permissions or authentication issue.
Please ensure that the Azure AD application has been granted sufficient permissions to access the Power BI report. This includes checking if the service principal used has been assigned the necessary roles in Power BI Service.
Embed content in your Power BI embedded analytics application - Power BI | Microsoft Learn
The "ERROR FORBIDDEN" error can also occur if there's an issue with the embed token generation. Verify that the embed token is being generated correctly and that it has not expired.
Power BI embedded analytics overview - Power BI | Microsoft Learn
If your setup involves calling Power BI APIs from client-side code, ensure that CORS settings are correctly configured. Salesforce might block requests due to CORS policy, so it's essential to verify this aspect.

Here's a related official document, check it out to see if it would help:
Embed Power BI content in Salesforce - Power BI | Microsoft Learn

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

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.