0 votes
1 view
in Azure by (14.1k 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 (39.1k 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.
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...