1
votes

I have been created several Azure Data Factories on the Portal then I would like to monitor them from PowerShell. After login to my subscription via PS I have tried this command:

Get-AzureRmDataFactory -ResourceGroupName 'Myresource'

and get back only the PS prompt nothing else (neither Data Factory names nor an error message).

On the Portal still I see the Data Factories. If I create a Data Factory via PS with New-AzureRmDataFactory command then I see that Data Factory on the Portal and on the PS, too.

Am I missing something?

1
Did you try selecting the subscription ? Incase if you have multiple onesHariHaran
Fortunately, I have only one subscription.Pirx

1 Answers

1
votes

Are you using ADF v1 or v2?

If v2, you can try Get-AzureRmDataFactoryV2 -ResourceGroupName "Myresource" .