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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Ramon-Alemao
New Member

Error in embedded powerbi, report does not load

I have a report and want to embed it on my website using the PowerBI JavaScript API.
I have done all the necessary script configuration to access the report, as well as created a project in Azure, and created a test subscription to be able to use the server capacity, but when the page is rendered, the report returns the following error:


Something went wrong
Try opening the report again.
If the problem persists, contact support and provide the details below. Hide Details
Request ID: xxxxxxxxxxxxxxxxxxxxxxx
Time: Tue Apr 01 2025 15:12:10 GMT-0300 (Brasília Standard Time)
Client Version: xxxxxxxxx
Error Message: Get report failed


However, I am unable to contact the Microsoft team in any way.

 

Screenshot_1.png

1 ACCEPTED SOLUTION

Hi @Ramon-Alemao ,
Thanks for reaching out to the Microsoft fabric community forum.

The issue you're encountering appears to stem from missing administrator consent for the required API permissions in your Azure Active Directory (Azure AD) application. Since you're the only user in your Azure environment but don't hold an administrator role, you'll need to assign yourself the necessary permissions to grant this consent. To proceed, sign in to the Azure portal, navigate to Azure Active Directory > Roles and administrators, and assign yourself the Global Administrator role.

 Once you have elevated access, go to Azure Active Directory > App registrations, select your application, and under API permissions, click Grant admin consent for [Your Organization] to approve the necessary scopes, such as Dataset.ReadWrite.All and Report.ReadWrite.All. After granting consent, test your Power BI embedding again to confirm the issue is resolved. If you're unable or prefer not to elevate your access, consider contacting Azure support for alternative solutions.

 


If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards

View solution in original post

6 REPLIES 6
v-nmadadi-msft
Community Support
Community Support

Hi @Ramon-Alemao,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the community members for the issue worked. If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Thanks and regards

v-nmadadi-msft
Community Support
Community Support

Hi @Ramon-Alemao,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If our responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


Thank you.

v-nmadadi-msft
Community Support
Community Support

Hi @Ramon-Alemao,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

v-nmadadi-msft
Community Support
Community Support

Hi @Ramon-Alemao,
Thanks for reaching out to the Microsoft fabric community forum.


The error "Get report failed" when embedding a Power BI report using the Power BI JavaScript API usually indicates an issue with authentication, permissions, or configuration. To resolve this, first, check your Power BI embed token and permissions. Ensure the embed token is valid and has the correct permissions to view the report. If using the App Owns Data approach, verify that the service principal has the necessary access to the Power BI workspace and dataset.

Next, confirm that your Azure AD authentication is correctly configured. Your Azure AD app registration should have the required API permissions, such as Reports.Read.All and Dataset.Read.All. If using a service principal, make sure Admin consent has been granted to enable access.


Please check the referenced article for more details on how to troubleshoot the error: Troubleshoot Power BI embedded analytics application - Power BI | Microsoft Learn

If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards

Hi, @v-nmadadi-msft.
Thanks for the answer.

The settings appear to be correct, according to the first image, the only thing that was a little unclear to me is the administrator consent.

I am the only user in my organization on Azure, but I do not have an administrator role, and I do not know how to change this.

When rendering the page and observing the API call, the error below, in the second image, is returned.

 

Screenshot_1 (1).pngScreenshot_1 (2).png

 

Hi @Ramon-Alemao ,
Thanks for reaching out to the Microsoft fabric community forum.

The issue you're encountering appears to stem from missing administrator consent for the required API permissions in your Azure Active Directory (Azure AD) application. Since you're the only user in your Azure environment but don't hold an administrator role, you'll need to assign yourself the necessary permissions to grant this consent. To proceed, sign in to the Azure portal, navigate to Azure Active Directory > Roles and administrators, and assign yourself the Global Administrator role.

 Once you have elevated access, go to Azure Active Directory > App registrations, select your application, and under API permissions, click Grant admin consent for [Your Organization] to approve the necessary scopes, such as Dataset.ReadWrite.All and Report.ReadWrite.All. After granting consent, test your Power BI embedding again to confirm the issue is resolved. If you're unable or prefer not to elevate your access, consider contacting Azure support for alternative solutions.

 


If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.