使用PowerShell在New-AzureRmDataFactoryPipeline上获取错误

时间:2017-10-15 19:55:12

标签: powershell azure pipeline azure-data-factory runbook

我正在尝试使用PowerShell在我的本地计算机上运行this tutorial,但在此行New-AzureRmDataFactoryPipeline $df -File .\MyFirstPipelinePSH.json(当我想创建管道时)我将收到此错误:

New-AzureRmDataFactoryPipeline : Exception of type 'Microsoft.Azure.Commands.DataFactories.ProvisioningFailedException' 

was thrown.

At line:295 char:17

+ ... $pipeline = New-AzureRmDataFactoryPipeline $df -File $temp_jsonFilePa ...

+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : CloseError: (:) [New-AzureRmDataFactoryPipeline], ProvisioningFailedException

    + FullyQualifiedErrorId : Microsoft.Azure.Commands.DataFactories.NewAzureDataFactoryPipelineCommand

在教程的下一步中,我应该运行Get-AzureRmDataFactorySlice $df -DatasetName AzureBlobOutput -StartDateTime 2017-07-01,结果显示如下,并显示StateNone

ResourceGroupName : TestResourceGroup2
DataFactoryName   : RezaDataFactory
DatasetName       : AzureBlobOutput
Start             : 7/1/2017 12:00:00 AM
End               : 8/1/2017 12:00:00 AM
RetryCount        : 0
State             : None
SubState          : 
LatencyStatus     : 
LongRetryCount    : 0

你能指导我如何解决这个问题吗?
还有一个解决方案here我无法理解其含义。

1 个答案:

答案 0 :(得分:0)

创建链接存储服务时,应传递存储ConnectionString和存储.radio label { padding: 4px 11px; border: 1px solid #000; } .radio label.checked { background-color: #0275b8; } select { border: 1px solid #000; margin-bottom:20px; } .dialogue { padding: 10px; border: 1px solid #000; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); }。确保你真正传递这两个参数。然后,如果它没有解决问题,删除资源(或更改您的资源)并再次创建它。它会解决问题。