- Download SQL Server and start in your local server
- Download SQL Server Management Studio (SSMS) and connect to locally hosted SQL Server database.
- Download any AdventureWorks backup database from here. I have considered AdventureWorksLT2016 data in this project.
- Load the data into SQL Server into using SSMS as desribed here. The database should look like below in SSMS:

- To access this database from Azure, we need to have a database user. Add an user to AdventureWorksLT2016 database by running the following commands in SSMS:
Grant database reader (db_datareader) permission to the created under Security > Users > Properties > Membership in SSMS.
CREATE LOGIN ssmsuser WITH PASSWORD = 'password'; CREATE USER ssmsuser FOR LOGIN ssmsuser;
-
Create a resource group for the project: rg-db-migration-project
-
Create the following services under the resource group: Azure Databricks Service, Data Factory (V2), Synapse Workspace, Key Vault, and a Data Lake storage account.

-
Add the SQL Server database user credentials (step 5 of on-premises SQL Server Setup) to Key Vault.
Note: If you encounter RBAC error while adding secrets, grant yourself IAM Role KeyVaultAdministrator under Access Control (IAM) of Azure Key Vault resource.
-
Navigate to data lake resource and create the following containers under Data Storage:
- bronze: to store raw ingested data
- silver: to store enriched data
- gold: to store final transformed data