H Bala H Bala - 5 months ago 17
PowerShell Question

Deleting Logic Apps with PowerShell iteratively

I have created 20+ logic apps with RM template, but I would like to remove them. Is there a PowerShell approach feasible to fetch logic apps under a resource group name and delete iteratively.


You should be able to do this with the following pipeline and may add additional filters to it.
As soon as you see the correct set of Logic Apps being processed, just remove the -WhatIf.

Get-AzureRmResource -ResourceGroupName 'yourGroupName' -ResourceType 'Microsoft.Logic/workflows' | Remove-AzureRmResource -WhatIf