azure - 将 Azure Blob 存储帐户链接到 Azure 数据工厂时出错

标签 azure azure-data-factory

我已经创建了一个 Azure 数据工厂,并且正在尝试创建一个新的链接服务来使用 Azure Blob 存储帐户。连接测试成功通过,但每次我尝试链接服务时都会遇到以下错误:

Cannot read property 'Symbol(Symbol.iterator)' of undefined

我正在使用 Azure 数据工厂 V2,我尝试链接的服务是 StorageV2 存储帐户。

不太确定从这里去哪里,任何建议将不胜感激。谢谢!

最佳答案

截至今天下午,我一直遇到同样的问题(上周五有效)。尝试为 Azure 存储或 SQL 数据库创建链接服务时发生此问题。我尝试了各种浏览器、不同的 Azure 订阅、不同的客户端计算机、在不同区域部署数据工厂和存储帐户,以及可能还有其他一些我现在已经忘记的事情。

最终,我放弃了门户并从 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

关于azure - 将 Azure Blob 存储帐户链接到 Azure 数据工厂时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51936642/

相关文章:

c# - Pechkin 与 Windows Azure

azure - 负载平衡有状态 Web 应用程序

azure - 无法通过 Azure 数据工厂解析 SAP 表中的数据

POSTMAN 中的 Azure 数据工厂 API 调用详细信息

powershell - 在 PowerShell 中引用存储帐户中的文件

azure - Azure 数据工厂中的复制事件替代方案

c# - 联合扇出查询

azure - Windows Azure 实例到底是什么?

Azure 负载平衡解决方案 - 应用程序网关或 Azure 负载平衡器

json - 如何使用数据工厂将 JSON 数据从 REST API 映射到 Azure SQL