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

In this post, you’ll learn about the website Azure Charts which provides you with information about all the features and...
There are times when you want to generate Weekly/Monthly reports of the ARM (Azure Resource Manager) deployments with-in your subscription....
Azure Load Balancer and Azure Traffic Manager helps you to make your web application and services more resilient. Whats the...