Azure Purview Lineage to Azure SQL Database Connection Fail

Chito Sto. Domingo 6 Reputation points
2023-06-08T08:03:58.0966667+00:00

I am trying to perform a Azure Purview scan of Azure SQL database. It can connect to the Azure SQL successfully but fails when I enable the Lineage Extraction. I am using Microsoft Purview MSI and the Managed VN IR to connect. The MSI were created as user in the database and made member of the db_owner role. There is already an existing 'master key' in the database so its the only thing I did not do in the setup instructions.

It's not networking, I know that Purview can reach the database because it can scan it without the Lineage option.

Do I need to drop and recreate the 'master key'?

Azure SQL Database
Microsoft Security Microsoft Purview
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Alberto Morillo 34,671 Reputation points MVP Volunteer Moderator
    2023-06-08T15:03:47.9166667+00:00

    Could you please review the steps to configure authentication for a scan that are documented here?

    Have you configured Azure SQL firewall to allow database access to Azure services?

    User's image

    Finally, please review all the prerequisites for setting up a scan with lineage extraction that are outlined here. After that follow the steps provided on how to perform the scan. Take your time to read this resource.


  2. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2023-06-15T21:24:24.7733333+00:00

    Hello Chito Sto. Domingo,

    I got a confirmation from PG that this is expected behavior.

    Extract lineage (preview)

    Lineage is not currently supported using a self-hosted integration runtime or managed VNET runtime and a private endpoint. You need to enable Azure services to access the server under network settings for your Azure SQL Database.

    Please see the below document.

    Discover and govern Azure SQL Database - Microsoft Purview | Microsoft Learn

    In this scenario, the lineage extraction for Azure SQL DB is currently available only on the public network as we need to enable "Allow Azure services and resources to access this server". This option exists on the Public network.

    In order to use the lineage extraction for Azure SQL DB, we need to enable "Allow Azure services and resources to access this server" from Public access.

    I hope this helps. Please let me know if you have any further questions.

    User's image


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.