Cloud Training (Online)




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.