Metadata scanning overview

Metadata scanning facilitates governance of your organization's Microsoft Fabric data by making it possible to catalog and report on all the metadata of your organization's Fabric items. It accomplishes this using a set of Admin REST APIs that are collectively known as the scanner APIs.

With the scanner APIs, you can extract information such as item name, owner, sensitivity label, and endorsement status. For Power BI semantic models, you can also extract the metadata of some of the objects they contain, such as table and column names, measures, DAX expressions, mashup queries, and so forth. The metadata of these semantic model internal objects is referred to as subartifact metadata.

For a more extensive list of the artifact and subartifact metadata that metadata scanning returns, see the documentation for the Admin - WorkspaceInfo GetScanResult API.

The following are the scanner APIs. They support both public and sovereign clouds.

Important

The app you develop for scanning can authenticate by using either a standard delegated admin access token or a service principal. The two authentication paths are mutually exclusive. When running under a service principal, there must be no Power BI admin-consent-required permissions set on your app. For more information, see Enable service principal authentication for read-only admin APIs.

Basic flow

  • Set up metadata scanning in the organization: Before metadata scanning can be run, a Fabric admin needs to set it up in your organization. Fabric admins should see Set up metadata scanning.

  • Enable service principal authentication for admin read-only APIs. Service principal is an authentication method that can be used to let a Microsoft Entra application access Microsoft Fabric content and APIs. See Enable service principal authentication for admin read-only APIs.

  • Run metadata scanning: See Run metadata scanning for a walkthrough that demonstrates a how to run a scan.

Licensing

Metadata scanning requires no special license. It works for all of your tenant's metadata, including that of items located in non-Premium workspaces.