Cannot like azure SQL Database to ADF using user-assigned managed identity
Here are the steps:
- Have created a managed Identity named “WeeklyEwsUsageReport_ManageIdentity”
- Have configured the SQL server with the following SQL query statement
CREATE USER [<identity-name>] FROM EXTERNAL PROVIDER;
ALTER ROLE db_datareader ADD MEMBER [<identity-name>];
ALTER ROLE db_datawriter ADD MEMBER [<identity-name>];
ALTER ROLE db_ddladmin ADD MEMBER [<identity-name>];
GO
- Have gained the contributor role assignment from both SQL database and ADF
- Created a test credential named “credential1”
enter image description here
But cannot connect to the SQL server, and here is the exception name and details:
Error Code: InvalidCredentialReference
Details: Invalid credential reference. Name: credential1
Would like to connect SQL database from ADF
New contributor
Xiang Li is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.