PowerShell script task error in release pipeline:##[error]Access to the path 'D:\a\r1\a\_myDrop\drop

Copper Contributor

I am creating  build and release pipelines to push an Azure Data Factory from my development environment to production.

The build task works as expected and places the files in a drop location.


In the release task, Ive added a powershell script as per microsoft guidelines to ensure ADF objects are deleted correctly.

On running this task i get the error: ##[error]Access to the path 'D:\a\r1\a\_myDrop\drop

The release pipeline agent job is using "Azure Pipelines" as the Agent pool and "Windows-latest" as the Agent Specification.


Appreciate any advice and expertise.

0 Replies