Data Factory 為 SQL Database 與 SQL 資料倉儲支援 Azure AD 驗證
發佈日期: 三月 23, 2018
Azure Data Factory V2 現在為 Azure SQL Database 與 SQL 資料倉儲支援 Azure Active Directory (Azure AD) 驗證,作為 SQL Server 驗證的替代項目。
兩種 Azure AD 驗證模式已啟用。 如需必要條件步驟,請參閱下列 ACOM 連結。
若為 SQL Database:
若為 SQL 資料倉儲:
Azure AD 驗證已透過 UI 式撰寫與 JSON 啟用:
使用服務主體驗證之已連結服務定義的範例 JSON 承載:
{
"name": "AzureSqlDbLinkedService",
"properties": {
"type": "AzureSqlDatabase",
"typeProperties": {
"connectionString": {
"type": "SecureString",
"value": "Server=tcp:<servername>.database.windows.net,1433;Database=<databasename>;Connection Timeout=30"
},
"servicePrincipalId": "<service principal id>",
"servicePrincipalKey": {
"type": "SecureString",
"value": "<service principal key>"
},
"tenant": "<tenant info, e.g. microsoft.onmicrosoft.com>"
},
"connectVia": {
"referenceName": "<name of Integration Runtime>",
"type": "IntegrationRuntimeReference"
}
}
}