Unable to scan a Azure SQL Database in Azure Purview

Hicham 46 Reputation points
2022-04-21T14:09:19.8+00:00

I am unable to connect a my Azure SQL Database to Purview. I have already followed the steps described in all the documentation. I keep getting the following error code: Error: (5521) Permission is not sufficient to perform SQL action in database.

See also the pictures below.

195118-connectie-probleem.png
195211-connection-failed-information.png
195221-purview-map.png

Does anyone happen to have an answer to this, thanks in advance!

Azure SQL Database
0 comments No comments
{count} votes

Answer accepted by question author
  1. GeethaThatipatri-MSFT 29,587 Reputation points Microsoft Employee Moderator
    2022-04-21T18:34:12.19+00:00

    Hi Hicham-0908 I tried to reproduce the issue from my end and it was a successful connection by seeing the error message I noticed that you are selecting Lineage extraction (preview) if you want to enable it then you have to follow the instruction provided in this document

    if you want to test the connection please try disabling Lineage extraction (preview)
    195305-image.png

    Please let me know if this information helps
    Regards
    Geetha


2 additional answers

Sort by: Most helpful
  1. Alberto Morillo 35,401 Reputation points MVP Volunteer Moderator
    2022-04-21T14:28:16.073+00:00

    Please make sure you followed the steps provided on this forum thread.

    Make sure on Azure SQL firewall you set "Allow Azure services and resources to access this server" to Yes.


  2. Nilesh Kodulkar 1 Reputation point
    2023-02-14T09:33:48.5633333+00:00

    On sql server I set admin to 'managed identity' of Purvuew service

    User's image


Your answer

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