I am using pre post deployment script from Azure page in the ADF devops pipeline. The first task uses these parameters.
-armTemplate "$(System.DefaultWorkingDirectory)/<your-arm-template-location>" -ResourceGroupName <your-resource-group-name> -DataFactoryName <your-data-factory-name> -predeployment $true -deleteDeployment $false
Then the ARM deployment and next task uses
-armTemplate "$(System.DefaultWorkingDirectory)/<your-arm-template-location>" -ResourceGroupName <your-resource-group-name> -DataFactoryName <your-data-factory-name> -predeployment $false -deleteDeployment $true.
The third task deletes everything in the ADF. I just wanted to remove the old pipelines that doesn't exist in my master pipeline or ADFPublish branch. Do I have to make any changes in that script to handles this ?
