Azure / Azure-DataFactory

Other
485 stars 591 forks source link

Filepath option wrong delete all adf resources #660

Open Runaway30 opened 7 months ago

Runaway30 commented 7 months ago

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.