我正在尝试使用azure数据工厂v2将数据复制到Azure数据存储池。我创建了数据湖商店,并在article here之后创建了一个AD网络应用程序,并确保该帐户可以访问数据湖商店。不过,我收到以下错误,每当我试图运行一个管道,涉及使用数据湖店作为一个水槽的单一副本活动:无法访问ADLS帐户'(accountname)'
活动复制(副本活动名称)失败:无法检测区的链接服务'AzureDataLakeStore':'LS_DataLakeStore',错误为'无法访问ADLS帐户'(数据湖店帐号名称)'。请确保它已被创建。',请明确指定由connectVia属性引用的集成运行时的位置,以避免在需要时检测区域。
我有三重检查帐户名是否正确。我已授予AD应用程序“所有者”对订阅的访问权限,以确保它不是权限问题。我甚至试图创建一个Adf集成运行时,这样我就可以通过错误提示的'connectVia'属性来指定它,所有这些都没有运气。
想法为什么ADF似乎无法看到我的数据湖店?
这里是我的链接业务的JSON:
{
"name": "LS_DataLakeStore",
"properties": {
"type": "AzureDataLakeStore",
"typeProperties": {
"dataLakeStoreUri": "adl://{my adls account name}.azuredatalakestore.net/",
"servicePrincipalId": "{the application id of the AD account I created}",
"servicePrincipalKey": {
"type": "SecureString",
"value": "{the value of the key for the AD account I generated}"
},
"tenant": "{my tenant id (I also tried using the tenant domain name here as well)}",
"subscriptionId": "{the subscription id in which the ADF and ADLS are located}",
"resourceGroupName": "{the resource group name in which the ADF and ADLS are located}"
}
}
}