Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (17.6k points)

How to remove data sets in bulk? I have many data sets but could not find an option on the UI how to delete them all, neither I could find a powershell command.

1 Answer

0 votes
by (47.2k points)

We don’t have such kind of option to all datasets in Azure portal, we can perform this operation using PowerShell snippet

 

Get-AzureRmDataFactory -ResourceGroupName <rgname> -Name <factory name> Get-AzureRmDataFactoryDataset | Remove-AzureRmDataFactoryDataset

 

We can append -Force to Remove-AzureRmDataFactoryDataset, which will stop the cmdlet from prompting us before deleting each dataset.

Note: Datasets cannot be deleted if they are being referenced by some existing pipeline.

Browse Categories

...