Azure DevOps Fix for Access to path \SourceMapping.json is denied

There are times when you might get the below error when running the pipeline (during build) in Azure DevOps.

Access to D:\DeveloperPublish\ _work\SourceRootMapping\a6567656a775758-a585868-a7575831\SourceFolder.json is denied

You might receive the above error for one of these reasons

  1. Build Agent has a wrongly configured folder (the same folder might be used by another process etc)
  2. Build Agent has some issues due to an update.

One of the best possible solution to fix this issue is to delete the entire SourceRootMapping folder and then restart the Agent.

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

There are times when you want to generate Weekly/Monthly reports of the ARM (Azure Resource Manager) deployments with-in your subscription....
  • Azure
  • November 25, 2024
Microsoft provides us with various storage tiers in Azure for Blob Storage. It is very important to understand the different...
  • Azure
  • November 20, 2024
There are times when you want to have a different style or color theme for Azure Portal. The azure theme color changes...
  • Azure
  • November 19, 2024