Did you know that using Power BI Service’s “Publish to web” option is the best approach to sharing your report with other users, whether they are members of a specified security group or the entire organisation?
But when you Publish to the web in Power BI, you may face errors like “Contact your admin to enable embed code creation.”
In this Power BI tutorial, we will see how to resolve the Power BI error: Contact your admin to enable embed code creation in a tricky way.
Also, we will discuss what is published on the web in Power BI Service.
What is Publish to Web in Power BI Service?
Publish to Web in Power BI Service allows you to share your Power BI publicly reports and dashboards by generating a link that can be embedded on websites or shared with anyone.
Let’s say you’re a marketing manager at a retail company and have created a Power BI dashboard to analyze sales data.
Your company wants to share this dashboard with potential investors on its website to showcase its sales performance.
In this scenario, “Publish to Web” allows you to easily share your Power BI dashboard with a wider audience, such as potential investors, and interactively showcase your company’s sales performance.
Power BI Error: Contact your admin to enable embed code creation
Here, we will talk about why we see the error ‘Contact your admin to enable embed code creation.’
However, you must use this feature carefully, especially when sharing sensitive or private information, because once the report is published, anyone with the embedded link can access it.
Your organization might have policies that restrict the use of certain features, such as publishing content publicly or embedding reports on external websites, to protect sensitive data.
Solved: Contact your admin to enable embed code creation
This example shows where we get this error and how to enable embed code creation in Power BI.
1. Open Power BI Service and go to the report you want to share.
2. Expand File -> click Embed report -> click Publish to web (public).
3. Next, you discover this kind of error. Check the screenshot below.
To solve this error, follow the below steps:
1. Click on Settings -> click on Admin portal.
2. Next, click on the Tenant setting tab -> Under ‘Export and sharing setting,’ expand the ‘Publish to Web’ feature.
3. First, you enable the ‘Allow users to create new embed codes.’ Then, you can choose who you want this to affect. After that, click on the Apply button.
4. Afterward, go to your report, expand the File menu, click on Embed report, and choose Publish to web (public).
You can solve Contact your admin to enable embed code creation error.
This tutorial taught us about Publish to Web in Power BI Service, why we might encounter the error “Contact your admin to enable embed code creation,” where we might encounter this error, and how to enable embed code creation in Power BI.
Also, you may like some more Power BI articles:
I am Bijay a Microsoft MVP (10 times – My MVP Profile) in SharePoint and have more than 17 years of expertise in SharePoint Online Office 365, SharePoint subscription edition, and SharePoint 2019/2016/2013. Currently working in my own venture TSInfo Technologies a SharePoint development, consulting, and training company. I also run the popular SharePoint website EnjoySharePoint.com