How to Get Embed URL in Power BI
You’ve built a powerful, insightful dashboard in Power BI, and now it’s time to share it with your team, stakeholders, or even the public. Instead of just sending a link that forces people into the Power BI app, embedding allows you to bring your reports directly into the platforms where work actually happens. This guide will walk you through exactly how to get an embed URL in Power BI, covering the different methods for secure internal sharing and public-facing reports.
First, Which Embedding Method is Right for You?
Before you copy a link, it's important to understand the two main ways to embed Power BI reports, as they have huge implications for security and access.
- Secure Embedding: This method is for sharing sensitive or internal data with specific people. Viewers must have a Power BI account (either Free, Pro, or Premium Per User) and be given permission to view the report. This is the default and most common method for business use inside an organization.
- Public Embedding (Publish to web): This method creates a publicly accessible link. Anyone on the internet with the link can view your report. There is no security or authentication required. This is only suitable for data that is intended to be fully public, like government open datasets or a non-sensitive portfolio project.
Choosing the right path from the start will save you from accidentally exposing private information. We’ll cover both paths in detail below.
Method 1: Public Embedding with "Publish to web"
This is the quickest way to create a shareable report, but it comes with a major security warning. Use this method only when your data is 100% public and non-confidential.
Warning: Once you publish a report to the web, the data becomes public. Search engines may even index it. Do not use this for internal sales numbers, customer information, or any other proprietary company data.
Free PDF · the crash course
AI Agents for Marketing Crash Course
Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.
Step-by-Step Guide to Publish to Web
Follow these steps from the Power BI service (the online version, not the desktop app).
Step 1: Open Your Report and Go to the File Menu
Navigate to the workspace containing your report and open it. In the top-left corner, click on File > Embed report > Publish to web (public).
Step 2: Create a New Embed Code
A dialog box will appear, explaining the security implications. If you’re confident your data is suitable for public viewing, click "Create embed code."
Step 3: Final Confirmation
Power BI gives you one last chance to be sure. It will remind you once more that the content will be public. Click "Publish" to proceed.
Step 4: Copy Your Public URL or iframe Code
Success! A final window will provide you with two options:
- A direct link: This is the URL you can send to people to view the report in a full-screen browser window.
- An iframe code snippet: This is the HTML code you can copy and paste into the HTML of your website, blog, or custom portal to embed the report directly on the page.
If your goal was just to get a shareable URL, you can copy the first link and you're done. For website embeds, the iframe code is what you need.
Managing Your Embed Codes
You can manage or delete public embed codes at any time by going to Settings > Manage embed codes in the Power BI service.
Method 2: Secure Embedding for Internal Sharing
This is the method you’ll use 99% of the time for business reports. It ensures only viewers you’ve authorized can see the data. For this to work, viewers need a Power BI license and must have access to the report or the workspace it's in.
Option A: Embed for a Website or Portal
Use this option to embed a secure report in an internal company portal or a secure website page that requires users to log in.
Step 1: Open the Report and Select the Embed Option
Similar to before, open your report in the Power BI service. Navigate to File > Embed report > Website or portal.
Step 2: Copy the Secure iframe Code or URL
A dialog will appear containing an iframe HTML snippet. You can copy this entire snippet to embed the report on a webpage. When a user visits the page, they will see a "Sign in to view this report" button if they are not already logged into their Microsoft account.
If you just need the secure URL itself — not the full iframe — you can find it within the code. Look for the part that starts with src="https://app.powerbi.com/... and copy the URL within the quotes.
Option B: Embed for SharePoint Online
Power BI and SharePoint are tightly integrated. If your company uses SharePoint Online for its intranet, embedding reports is incredibly simple.
Step 1: Select the SharePoint Online Option
In your report, go to File > Embed report > SharePoint Online.
Step 2: Copy the Specialized URL
This will give you a special URL designed to be pasted directly into the Power BI web part within SharePoint. Simply copy this URL.
Step 3: Paste it in SharePoint
On your SharePoint page, add the "Power BI" web part and paste the URL you just copied into the "Power BI report link" field. The report will appear, and permissions will be handled automatically based on user accounts.
Free PDF · the crash course
AI Agents for Marketing Crash Course
Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.
Option C: Share to Microsoft Teams
While this isn't getting a 'URL' in the classic sense, it's a very common way to 'embed' analytics where your team collaborates.
- In a Microsoft Teams channel, click the '+' (Add a tab) icon at the top.
- Search for and select the Power BI app.
- Navigate through your workspaces to find and select the report you want to embed.
- Click 'Save', and the report will appear as a dedicated tab in your channel.
All team members with the right permissions can now view and interact with the live report without ever leaving Teams.
Common Issues and Quick Fixes
- "Content isn't available": This is almost always a permissions issue. For secure embeds, the person viewing the report needs to have a Power BI license and access to the report itself. Share the report with them directly from the workspace.
- Report is slow to load: Embedding a report on a high-traffic site can slow it down. Make sure your Power BI report is optimized for performance by limiting the number of visuals and complex calculations.
- Mobile view looks bad: Power BI reports don’t always look great on small screens by default. In Power BI Desktop, you can and should create an optimized layout specifically for mobile viewing by going to View > Mobile layout before publishing.
Final Thoughts
Getting an embed URL from Power BI is straightforward once you know whether you need a public or secure link. For internal company dashboards, stick to "Website or portal" or "SharePoint Online" to protect your data. Use "Publish to web" only when you are 100% certain the information can be shared with the entire world.
While Power BI is an effective enterprise tool for embedding analytics, the initial setup — from connecting data sources to designing reports and managing security — often has a steep learning curve. We lived this frustration, which is why we built Graphed. Our platform is designed to eliminate the long and complicated process of creating and sharing insightful reports. Instead of grappling with complex settings, you just connect your data and ask in plain English for the dashboard you need, making the entire analytics workflow feel as simple as having a conversation.
Related Articles
How to Create Facebook Ads API for Claude Code
Create a Meta Marketing API access token that never expires, using a system user, so Claude Code can pull Facebook ad reports and manage campaigns.
ClickHouse vs Postgres: When to Switch to Columnar
Comparing ClickHouse vs PostgreSQL means matching storage architecture to workload. Row storage wins for transactions. Columnar wins for scan-heavy analytics.
Google Ads for Orthodontists: Get More Booked Consults
Most orthodontic Google Ads campaigns waste money on low-intent searches. The problem is structure, not the platform.