我正在执行此命令
$obj = Get-AzDataFactory -ResourceGroupName $rgName -Name $adfName
我收到此错误,但其中存在ADF。
HTTP Status Code: NotFound Error Code: ResourceNotFound Error Message: The Resource 'Microsoft.DataFactory/dataFactories/*******' under resource group 'DEV*****RG' was not found.
运行此命令时,其中会列出ADF!
Get-AzResource -ResourceGroupName "DEV*****RG"
答案 0 :(得分:1)
'Get-AzDataFactory V2 '是正确的命令