We have done an error in our release pipeline: we pass to the script PrePostDeploymentScript.Ver2.ps1 in the post deployment task a wrong filePath option. After our wrong option, the script has deleted ALL our ADF's resources (pipelines, datasets, linkedservices..). The option was a filePath of a folder that didn't exists, I think that the script should do a check on the existence of the folder given.
We have done an error in our release pipeline: we pass to the script PrePostDeploymentScript.Ver2.ps1 in the post deployment task a wrong filePath option. After our wrong option, the script has deleted ALL our ADF's resources (pipelines, datasets, linkedservices..). The option was a filePath of a folder that didn't exists, I think that the script should do a check on the existence of the folder given.