简体   繁体   English

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

[英]Error linking Azure Blob Storage account to Azure Data Factory

I have created an Azure Data Factory and I am trying to create a new linked service to using an Azure Blob Storage account. 我已经创建了一个Azure数据工厂,并且正在尝试创建一个新的链接服务以使用Azure Blob存储帐户。 The connection test passes successfully, but each time I try to link the service I am greeted with the following error: 连接测试成功通过,但是每次尝试链接服务时,都会遇到以下错误:

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

I am using the Azure Data Factory V2 and the service I am trying to link is a StorageV2 storage account. 我正在使用Azure Data Factory V2,而我尝试链接的服务是一个StorageV2存储帐户。

Not quite sure where to go from here, any suggestions would be greatly appreciated. 不太确定从这里去哪里,任何建议将不胜感激。 Thanks! 谢谢!

I was having a similar problem. 我有一个类似的问题。 I was logged in with 2 different accounts. 我用2个不同的帐户登录。 I logged out of both, signed in with one and it worked. 我注销了两者,并使用一个进行了登录,并且可以正常工作。 Hope this helps you. 希望这对您有所帮助。

As of this afternoon I have been having the same issue (it worked last Friday). 到今天下午为止,我一直遇到同样的问题(上周五有效)。 It occurred trying to create linked services for Azure Storage or SQL Database. 尝试为Azure存储或SQL数据库创建链接服务时发生。 I tried various browsers, different Azure subscriptions, different client machines, deploying Data Factory and storage accounts in different regions and probably a few other things that I have forgotten now. 我尝试了各种浏览器,不同的Azure订阅,不同的客户端计算机,在不同区域中部署Data Factory和存储帐户以及可能现在忘记的其他一些事情。

Ultimately, I just gave up on the portal and created the linked services from PowerShell which worked just fine. 最终,我只是放弃了门户,从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.

相关问题 从Azure数据工厂访问Azure Blob存储帐户 - Access Azure Blob storage account from azure data factory Azure 数据工厂到 Azure Blob 存储权限 - Azure Data Factory to Azure Blob Storage Permissions Azure blob 存储 - SAS - 数据工厂 - Azure blob storage - SAS - Data Factory Azure Blob 存储无效帐户字符串错误 - Azure Blob Storage Invalid Account String Error 如何使用 Azure 数据工厂获取 blob 存储帐户中的容器计数? - How to get the count of containers in blob storage account using Azure Data Factory? 将 Azure blob 存储文件名保存到 Sql 表 - Azure 数据工厂 - Save Azure blob storage filename to Sql table - Azure Data Factory Map Azure Blob 存储文件到 Azure 数据工厂中的自定义活动 - Map Azure Blob Storage files to a custom activity in Azure Data Factory Azure 数据工厂:如果 PostgreSQL 在私有 su.net (Azure) 中,则为 PostgreSQL 到 blob 存储 - Azure Data factory: PostgreSQL to blob storage if PostgreSQL is in a private subnet (Azure) 将最新的文件夹从 azure blob 存储加载到 azure 数据工厂 - Load the latest folder from azure blob storage to azure data factory 如何在 Azure 数据工厂中对 API 数据传输进行 Blob 存储? - How to do a Blob storage to API data transfer in Azure Data Factory?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM