Description
The Fabric tenant setting Publish to web (Export and sharing settings) is Disabled, or Enabled only for a specific security group of users approved to publish public content, with Choose how embed codes work set to Allow only existing embed codes so that each new code needs an administrator. The Embed codes page of the admin portal is reviewed regularly and codes exposing internal data are deleted.
Rationale
A Publish to web embed code makes the report public: anyone with the URL, including search engines and archive services, can view it and the underlying data visible in its visuals, with no sign-in and no audit of who viewed it. Users often mistake it for a sharing feature. Disabling it, or limiting it to a reviewed group, prevents public data leaks.
Impact
Users outside the allowed group no longer see Publish to web. If the setting is disabled for the whole organization, existing public embed codes stop working; when restricted to groups, existing reports keep rendering. Review the Embed codes list before the change to identify legitimate public reports (for example open data pages).
Applies when
Requires: Power BI / Microsoft Fabric
Setting
| Location | Fabric admin portal > Tenant settings > Export and sharing settings > Publish to web |
| Recommended | Disabled, or Enabled for a specific security group with existing embed codes only |
Audit
- Sign in to Microsoft Fabric (https://app.fabric.microsoft.com) as a Fabric Administrator.
- Open Settings > Admin portal > Tenant settings > Export and sharing settings and expand Publish to web.
- Check that it is Disabled, or Enabled for Specific security groups only.
- Open Admin portal > Embed codes and review the active codes: each must correspond to content approved for public release.
- Alternative, read only: in
GET https://api.fabric.microsoft.com/v1/admin/tenantsettings, read the entryPublishToWeb;GET https://api.powerbi.com/v1.0/myorg/admin/widelySharedArtifacts/publishedToWeblists published reports. - Fail if the setting is enabled for the entire organization, or if an active embed code exposes non-public content.
Remediation
- In Admin portal > Embed codes, delete the codes exposing internal content.
- In Tenant settings > Export and sharing settings > Publish to web, select Disabled, or Enabled with Specific security groups and Allow only existing embed codes. Select Apply. Role: Fabric Administrator.
- API equivalent:
POST https://api.fabric.microsoft.com/v1/admin/tenantsettings/PublishToWeb/updatewith the target state.
Rollback
Set the setting back to its previous scope. Deleted embed codes cannot be restored; the report owner must publish again.
References
- Export and sharing tenant settings Microsoft, vendor-doc, accessed 2026-10-24
- CISA SCuBA Power BI baseline CISA, standard, accessed 2026-10-24
Mappings
| Framework | ID | Relation |
|---|---|---|
| NIST SP 800-53 Rev. 55.1.1 | AC-22 | related |
| NIST SP 800-53 Rev. 55.1.1 | SC-7(10) | related |
| CISA SCuBA Microsoft 365 Secure Configuration Baselines2.0.0 | MS.POWERBI.1.1v1 | equivalent |
How this control relates to the other framework's: equivalent, stricter, looser, partial or related.
Threats mitigated
| Taxonomy | ID |
|---|---|
| MITRE ATT&CK | T1530 |
Related controls
- related
CB-M365-POWER-016Restrict Power BI links that grant access to everyone in the organization
People and lifecycle
| Authors |
|
| Introduced in | v0.1.0 |
| Created, updated | 2026-10-24, 2026-10-24 |
| Translations | fr |