Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
4.1k views
in Power BI by 26 30 35
edited by

I got this error "Contact your admin to enable embed code creation Power BI" when trying to embed and publish Power BI report to the web

Contact your admin to enable embed code creation Power BI

To publish this report on the web, ask your Power BI admin if they will allow you to create new publish to web embed codes. Once they turn that on, you will be able to publish this report to the web

Contact your admin to enable embed code creation Power BI

How can I embed and publish Power BI report to the web in Power BI Service?


1 Answer

1 like 0 dislike
by 159 198 381
selected by
 
Best answer

How to enable embed code creation in Power BI?

In Power BI Admin Portal, by default the embed Power BI dashboards and reports in Web applications is disabled, so you get this error "Contact your admin to enable embed code creation Power BI"

To enable embed code creation in Power BI, you have to do the following:

  1. As a Power BI Tenant Admin, browse this URL https://app.powerbi.com/
  2. Provide your email and click submit, then provide the password.
  3. Click on the setting gear icon and select Admin Portal.
    Admin Portal in Power BI
  4. At Tenant Settings,
    Tenant Settings in Power BI
  5. Scroll down to Developer settings > Embed content in Apps
  6. Click Enable to allow users in the organization to embed Power BI dashboards and reports in Web applications using the "Embed for your customers" method.
  7. Specify which security group you need to enable this feature, or apply it to the entire organization.
  8. Finally, click Apply to apply your settings.
    embed power bi dashboard settings in Power BI

Note: the Tenant settings changes will be applied within the next 15 minutes and may take more than this period.
the Tenant settings changes will be applied within the next 15 minutes


How to embed and publish a Power BI report to the Web?

After 15 minutes, try now to embed your Power BI report or dashboard by doing the following:

  1. Open your Power BI report.
  2. Click on File > Embed Report > Publish to web.
    Emed report and publish to web power bi
  3. Click on "Create Embed Code"
    Embed Power BI Dashboard in public website
  4. Then click Publish to generate the embedded URL
    publish power bi dashboard to the web
  5. Copy the embedded URL and try to browse it or use it on your website as IFrame
    embed power bi dashboard to the web
by 26 30 35
0 0
That's awesome answer, thank you @mohamed
If you don’t ask, the answer is always NO!
...