[英]Error linking Azure Blob Storage account to Azure Data Factory
我已经创建了一个Azure数据工厂,并且正在尝试创建一个新的链接服务以使用Azure Blob存储帐户。 连接测试成功通过,但是每次尝试链接服务时,都会遇到以下错误:
Cannot read property 'Symbol(Symbol.iterator)' of undefined
我正在使用Azure Data Factory V2,而我尝试链接的服务是一个StorageV2存储帐户。
不太确定从这里去哪里,任何建议将不胜感激。 谢谢!
我有一个类似的问题。 我用2个不同的帐户登录。 我注销了两者,并使用一个进行了登录,并且可以正常工作。 希望这对您有所帮助。
到今天下午为止,我一直遇到同样的问题(上周五有效)。 尝试为Azure存储或SQL数据库创建链接服务时发生。 我尝试了各种浏览器,不同的Azure订阅,不同的客户端计算机,在不同区域中部署Data Factory和存储帐户以及可能现在忘记的其他一些事情。
最终,我只是放弃了门户,从PowerShell创建了链接服务,效果很好。
$resourceGroupName = "<Resource group name>"
$dataFactoryName = "<Data factory name>"
$storageAccountName = "<Azure storage account name>"
$storageAccountKey = "<Azure storage account key>"
## JSON definition of the linked service.
$storageLinkedServiceDefinition = @"
{
"name": "AzureStorageLinkedService",
"properties": {
"type": "AzureStorage",
"typeProperties": {
"connectionString": {
"value": "DefaultEndpointsProtocol=https;AccountName=$storageAccountName;AccountKey=$storageAccountKey",
"type": "SecureString"
}
}
}
}
"@
## IMPORTANT: stores the JSON definition in a file that will be used by the Set-AzureRmDataFactoryV2LinkedService command.
$storageLinkedServiceDefinition | Out-File c:\AzureStorageLinkedService.json
## Creates a linked service in the data factory
Set-AzureRmDataFactoryV2LinkedService -DataFactoryName $dataFactoryName -ResourceGroupName $resourceGroupName -Name "AzureStorageLinkedService" -File c:\AzureStorageLinkedService.json
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.