In order to get the Lineage Extraction (preview) feature working when running a scan, I had been informed that I need to execute the ''Prerequisites for setting up scan with Lineage extraction" from the following document under ''Lineage(Preview)'': https://docs.microsoft.com/en-us/azure/purview/register-scan-azure-sql-database?tabs=sql-authentication#lineagepreview
Only, when running the query, I keep getting the following error message. Does anyone happen to have any idea what this is due to? I assume I need to put the name of my purview account in the next query. So the query:
Create user <purview-account> FROM EXTERNAL PROVIDER
Will then become:
Create user "purview-account-mcd-dg" FROM EXTERNAL PROVIDER
Because my Purview account is called as follows: purview-account-mcd-dg
Only I keep getting the following error code in SQL Server Management Studio for this, Does anyone happen to have any idea what this is due to?
Error code:
Msg 33159, Level 16, State 1, Line 1
Principal 'purview-account-mcd-dg' could not be created. Only connections established with Active Directory accounts can create other Active Directory users.
Completion time: 2022-04-26T15:46:23.8112222+02:00
Thanks in advance for the help!