# Publish and share Power BI reports without exposing the wrong data Check what a PBIX publishes, choose the workspace and distribution path, then test RLS, OLS and workspace roles with a real viewer identity before sharing. - Canonical: https://satracking.net/guides/power-bi-publish-securely/ - Language: en - Category: platforms - Level: advanced - Published: 2026-11-13 - Updated: 2026-11-13 --- ## Audience and learning objectives Check what a PBIX publishes, choose the workspace and distribution path, then test RLS, OLS and workspace roles with a real viewer identity before sharing. This guide covers the hand-off from a local PBIX file to the Power BI Service, the difference between publishing and sharing, and the security checks that must happen before a report is distributed. Skill: advanced. Reading time: nine minutes. ## 1. Know what publishing transfers A Power BI Desktop file (`.pbix`) can contain report definitions and a semantic model. When you publish it to the Power BI Service, the model data and report are uploaded to the selected workspace. Microsoft notes that changes made to the report in the service are not written back into the original PBIX file. Treat the PBIX as a controlled project artifact: - Store it in an approved location with version history. - Confirm whether the file contains imported data that should not be distributed broadly. - Record the target workspace and intended owner. - Check whether a republish will replace an existing semantic model and report. - Reconcile important report changes before the next Desktop publication. A PBIX is not just a visual design file. If it contains imported data, sharing the file can disclose that data independently of the access controls applied to a published report. ## 2. Publish to the right workspace Use a workspace that reflects the ownership and lifecycle of the content. Avoid publishing a production report into an individual's personal workspace by default when the report needs team ownership, operational support or a managed release process. Before publishing, verify: 1. The destination workspace is correct. 2. The report and semantic model names are unambiguous. 3. Required credentials and data-source connections are available. 4. Refresh behavior and ownership are documented. 5. The report has been reconciled against known totals and test cases. 6. The team understands whether republishing replaces an existing model. The current Power BI interface can move menu items. Use the Publish command in Desktop and select the intended workspace; follow Microsoft's current guidance if the button location differs from older course screenshots. ## 3. Choose a distribution method deliberately Publishing creates content in a workspace; it does not by itself define the correct audience. Power BI offers different distribution paths, including direct sharing, workspace roles and apps. Choose based on the audience and the level of collaboration required. | Need | Starting option | Control to verify | |---|---|---| | A small named group needs to read one report | Direct sharing | Named recipients, reshare and Build permissions | | A team co-authors and maintains content | Workspace access | Admin, Member, Contributor or Viewer role | | A broad audience consumes curated content | App distribution | App audience and underlying semantic model permissions | | External people need access | External sharing | Tenant policy, guest identity and licensing requirements | Licensing and capacity requirements change and depend on the chosen sharing path, workspace capacity and recipient type. Check the current Microsoft requirements for your tenant rather than copying a license statement from an older book. ## 4. Secure the semantic model, not just the canvas A report page is a presentation layer, not a data-security boundary. Hiding a visual, column, table or page does not prevent an authorized report consumer from querying underlying model data. Use the appropriate model-level controls: - **Row-level security (RLS)** restricts which rows a viewer can access. Define roles, assign users or groups in the service, and test each role with representative identities. - **Object-level security (OLS)** restricts access to specific tables or columns and their metadata. Use it when a field itself must not be discoverable by a viewer. - **Workspace roles** determine collaboration and editing access. RLS and OLS behavior differs for Viewer versus Admin, Member and Contributor roles; do not assume a role filter protects workspace editors. RLS is not a substitute for source-system security, consent, privacy review or careful data minimization. If a user should never receive a field, do not rely on hiding it in a visual. ## 5. Validate the release as a consumer Before broad distribution: 1. Test with a viewer account or a representative test identity. 2. Verify RLS role membership and the data each role can see. 3. Verify OLS for sensitive tables or columns where used. 4. Confirm the consumer can access the report and its semantic model as intended. 5. Test refresh, gateway or source credentials where relevant. 6. Confirm the report does not expose hidden test pages, raw exports or unnecessary detail. 7. Document the owner, support path and rollback version. Do not use a public “anyone” link for confidential data. A report that looks aggregated can still expose underlying rows if permissions allow access. ## Release checklist - [ ] PBIX stored and versioned in an approved location. - [ ] Imported data in the file is appropriate for its intended distribution. - [ ] Correct workspace and content owner selected. - [ ] Republish/replace impact understood. - [ ] Sharing method matches the audience. - [ ] RLS/OLS and workspace-role boundaries tested. - [ ] Licensing and capacity checked against current tenant configuration. - [ ] Consumer test and rollback plan completed. ## Source and further reading Adapted from *Introduction to Power BI*, Monash Bioinformatics Platform / Monash Data Fluency initiative (2020), pp. 38–44. Licensed source: **CC BY 4.0**. Current publishing and access controls were checked against Microsoft's guidance for [publishing PBIX files](https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-upload-desktop-files), [sharing and collaboration](https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-share-dashboards), [RLS](https://learn.microsoft.com/en-us/power-bi/service-admin-rls) and [OLS](https://learn.microsoft.com/en-us/fabric/security/service-admin-object-level-security). ## Official references - Publish semantic models and reports from Power BI Desktop — https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-upload-desktop-files (verified 2026-11-13) - Share and collaborate on Power BI reports and dashboards — https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-share-dashboards (verified 2026-11-13) - Row-level security (RLS) with Power BI — https://learn.microsoft.com/en-us/power-bi/service-admin-rls (verified 2026-11-13) - Object-level security (OLS) with Power BI — https://learn.microsoft.com/en-us/fabric/security/service-admin-object-level-security (verified 2026-11-13)