Forum Discussion

Ramon-Alemao's avatar
Ramon-Alemao
New Member
1 year ago
Solved

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, a...
  • v-nmadadi-msft's avatar
    v-nmadadi-msft
    1 year ago

    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