使用 PowerShell 在 New-AzureRmDataFactoryPipeline 上出错
Getting error on New-AzureRmDataFactoryPipeline using PowerShell
我正在尝试使用 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
结果如下所示,它会显示 State
是 None
:
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我看不懂是什么意思
创建链接存储服务时,应传递存储 username
和存储 ConnectionString
。确保您真正传递了这两个参数。然后,如果它不能解决问题,请删除资源(或更改您的资源)并重新创建。它会解决问题。
我正在尝试使用 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
结果如下所示,它会显示 State
是 None
:
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我看不懂是什么意思
创建链接存储服务时,应传递存储 username
和存储 ConnectionString
。确保您真正传递了这两个参数。然后,如果它不能解决问题,请删除资源(或更改您的资源)并重新创建。它会解决问题。