触发我的Azure数据工厂V2管道时,收到以下错误消息:
{
"errorCode": "2109",
"message": "Region detection for linked services with type 'SqlServer' is not supported, please specify location instead.",
"failureType": "UserError",
"target": "Staging"
}
我的Azure Data Factory V2具有“westeurope”作为其位置,具有原始数据的blob存储也是如此 .
验证数据工厂中的所有链接服务 . 当我按下“验证全部”时,我的工厂也声称没有错误 .
我的错误来源是什么,我该如何解决?
1 回答
要解决此问题,您必须创建Azure集成运行时并为其指定正确的位置 . 官方文件:https://docs.microsoft.com/en-us/azure/data-factory/concepts-integration-runtime#azure-integration-runtime和这里https://docs.microsoft.com/en-us/azure/data-factory/concepts-integration-runtime#integration-runtime-location
为此,您可以将Powershell与Azure SDK一起使用,命令为Set-AzureRmDataFactoryv2IntegrationRuntime . 它有很多参数,但您必须确保使用-Type Managed创建它 .
例:
创建后,请确保在链接服务的connectVia属性中为azure sql引用它 .
希望这有帮助!