Skip to content

Commit ed65fd6

Browse files
Merge pull request #284703 from jonburchel/patch-45
Update tutorial-incremental-copy-change-tracking-feature-powershell.md
2 parents 3d3e3f0 + b616d90 commit ed65fd6

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

articles/data-factory/tutorial-incremental-copy-change-tracking-feature-powershell.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,19 +227,22 @@ In this step, you link your Azure Storage Account to the data factory.
227227
### Create Azure SQL Database linked service.
228228
In this step, you link your database to the data factory.
229229

230-
1. Create a JSON file named **AzureSQLDatabaseLinkedService.json** in **C:\ADFTutorials\IncCopyChangeTrackingTutorial** folder with the following content: Replace **<server> <database name>, <user id>, and <password>** with name of your server, name of your database, user ID, and password before saving the file.
230+
1. Create a JSON file named **AzureSQLDatabaseLinkedService.json** in **C:\ADFTutorials\IncCopyChangeTrackingTutorial** folder with the following content: Replace <your-server-name> and <your-database-name> with the name of your server and database before you save the file. You must also configure your Azure SQL Server to [grant access to your data factory's managed identity](connector-azure-sql-database.md#user-assigned-managed-identity-authentication).
231231
232232
```json
233233
{
234-
"name": "AzureSQLDatabaseLinkedService",
235-
"properties": {
234+
"name": "AzureSqlDatabaseLinkedService",
235+
"properties": {
236236
"type": "AzureSqlDatabase",
237237
"typeProperties": {
238-
"connectionString": "Server = tcp:<server>.database.windows.net,1433;Initial Catalog=<database name>; Persist Security Info=False; User ID=<user name>; Password=<password>; MultipleActiveResultSets = False; Encrypt = True; TrustServerCertificate = False; Connection Timeout = 30;"
239-
}
238+
"connectionString": "Server=tcp:<your-server-name>.database.windows.net,1433;Database=<your-database-name>;"
239+
},
240+
"authenticationType": "ManagedIdentity",
241+
"annotations": []
240242
}
241243
}
242244
```
245+
243246
2. In **Azure PowerShell**, run the **Set-AzDataFactoryV2LinkedService** cmdlet to create the linked service: **AzureSQLDatabaseLinkedService**.
244247
245248
```powershell

0 commit comments

Comments
 (0)