Connect to and manage dedicated SQL pools in Microsoft Purview
Article
This article outlines how to register dedicated SQL pools (formerly SQL DW), and how to authenticate and interact with dedicated SQL pools in Microsoft Purview. For more information about Microsoft Purview, read the introductory article.
You will need to be a Data Source Administrator and Data Reader to register a source and manage it in the Microsoft Purview governance portal. See our Microsoft Purview Permissions page for details.
Only the server-level principal login (created by the provisioning process) or members of the loginmanager database role in the master database can create new logins. It takes about 15 minutes after granting permission, the Microsoft Purview account should have the appropriate permissions to be able to scan the resource(s).
System or user assigned managed identity to register
You can use either your Microsoft Purview system-assigned managed identity (SAMI), or a User-assigned managed identity (UAMI) to authenticate. Both options allow you to assign authentication directly to Microsoft Purview, like you would for any other user, group, or service principal. The Microsoft Purview SAMI is created automatically when the account is created. A UAMI is a resource that can be created independently, and to create one you can follow our user-assigned managed identity guide. Create a Microsoft Entra user in the dedicated SQL pool using your managed identity object name by following the prerequisites and tutorial on Create Microsoft Entra users using Microsoft Entra applications.
Example SQL syntax to create user and grant permission:
SQL
CREATEUSER [PurviewManagedIdentity] FROMEXTERNAL PROVIDER
GO
EXEC sp_addrolemember 'db_datareader', [PurviewManagedIdentity]
GO
The authentication must have permission to get metadata for the database, schemas, and tables. It must also be able to query the tables to sample for classification. The recommendation is to assign db_datareader permission to the identity.
Service Principal to register
To use service principal authentication for scans, you can use an existing one or create a new one.
If you need to create a new Service Principal, follow these steps:
On Register sources, select Azure Dedicated SQL Pool (formerly SQL DW).
Select Continue
On the Register sources screen, complete the following steps:
Enter a Name that the data source will be listed with in the Catalog.
Choose your Azure subscription to filter down dedicated SQL pools.
Select your dedicated SQL pool.
Select a collection from the list.
Select Register to register the data source.
Scan
Follow the steps below to scan dedicated SQL pools to automatically identify assets and classify your data. For more information about scanning in general, see our introduction to scans and ingestion
Create and run scan
To create and run a new scan, complete the following steps:
This training module guides you in how to build a complete master data management and data governance stack end to end with Microsoft Purview and CluedIn. It includes developing golden records, deduplication, data lineage, and data quality strategies.
Administer an SQL Server database infrastructure for cloud, on-premises and hybrid relational databases using the Microsoft PaaS relational database offerings.
This guide describes how to connect to Azure Synapse Analytics workspaces in Microsoft Purview, and how to use Microsoft Purview features to scan and manage your Azure Synapse Analytics workspace source.
This article outlines the process to register an Azure Data Lake Storage Gen2 data source in Microsoft Purview including instructions to authenticate and interact with the Azure Data Lake Storage Gen2 source.