I have been trying to use Managed Identity to connect to Azure SQL Database from Azure Data factory.
Steps are as follow:
- Created a Linked Service and selected Managed Identity as the Authentication Type
- On SQL Server, added Managed Identity created for Azure Data Factory as Active Directory Admin
The above steps let me do all data operations on the database. Actually that is the problem. I want to restrict the privileges given to Azure Data Factory on my SQL database.
First, let me know whether I have followed the correct steps to set up the managed identity. Then, how to limit privileges because I don't want data factory to do any DDL on SQL database.