Purview sql database scanning error - Error: (3860) Required role of 'ALTER ANY DATABASE EVENT SESSION' is required to enable lineage scans Inner Code:5519

Mudassar A 491 Reputation points
2023-02-10T21:47:30.1033333+00:00

I m trying to scan azure sql db but getting the below error

Error: (3860) Required role of 'ALTER ANY DATABASE EVENT SESSION' is required to enable lineage scans Inner Code:5519

User's image

Note when I switch off Lineage extraction, I can connect ( see below) but cant connect when lineage is on ( see above)

User's image

Microsoft Security Microsoft Purview
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Mudassar A 491 Reputation points
    2023-02-14T05:45:08.81+00:00

    Below is the command which grants the Alter

    USE AdventureWorks2012;
    GRANT CONTROL ON DATABASE::AdventureWorks2012 TO Sarah;
    GO
    

    Thanks , this fixed my issue

    3 people found this answer helpful.

  2. PRADEEPCHEEKATLA 90,641 Reputation points Moderator
    2023-02-14T05:44:43.4566667+00:00

    Hello @DataArtist

    Thanks for the question and using MS Q&A paltform

    This error message indicates that the user account that you are using to set up the scan in Microsoft Purview does not have the necessary permissions to enable lineage scans.

    To resolve this issue, you will need to grant the 'ALTER ANY DATABASE EVENT SESSION' role to the user account that you are using to set up the scan.

    Hope this helps.

    2 people found this answer helpful.
    0 comments No comments

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.