Access to path \SourceMapping.json is denied in AzureDevOps

Sometimes you may get an error like this during Builds

Access to E:\Agent\ _work\SourceRootMapping\a3e8a148-c63b-458b-bb1c-9737aaf25169\107\SourceFolder.json is denied

The reason you get an error may be due to any of these

  • Agent has been started and stopped manually
  • Agent issues due to some update

Solution : You can fix this issue by doing any of these below

  • Delete the entire SourceRootMapping or the folder that beings with a3
  • Restart the agent machine (This always works)

You may also like...

9 Responses

  1. December 17, 2020

    … [Trackback]

    […] Info to that Topic: azuredevopsguide.com/access-to-path-sourcemapping-json-is-denied-in-azuredevops/ […]

  2. December 20, 2020

    … [Trackback]

    […] Read More on to that Topic: azuredevopsguide.com/access-to-path-sourcemapping-json-is-denied-in-azuredevops/ […]

  3. December 22, 2020

    … [Trackback]

    […] There you will find 89279 additional Info to that Topic: azuredevopsguide.com/access-to-path-sourcemapping-json-is-denied-in-azuredevops/ […]

  4. December 29, 2020

    … [Trackback]

    […] Info on that Topic: azuredevopsguide.com/access-to-path-sourcemapping-json-is-denied-in-azuredevops/ […]

  5. January 1, 2021

    … [Trackback]

    […] Read More Info here to that Topic: azuredevopsguide.com/access-to-path-sourcemapping-json-is-denied-in-azuredevops/ […]

  6. January 8, 2021

    … [Trackback]

    […] Info on that Topic: azuredevopsguide.com/access-to-path-sourcemapping-json-is-denied-in-azuredevops/ […]

  7. January 16, 2021

    … [Trackback]

    […] Here you will find 39947 more Info on that Topic: azuredevopsguide.com/access-to-path-sourcemapping-json-is-denied-in-azuredevops/ […]

  8. January 16, 2021

    … [Trackback]

    […] Find More on that Topic: azuredevopsguide.com/access-to-path-sourcemapping-json-is-denied-in-azuredevops/ […]

  9. January 20, 2021

    … [Trackback]

    […] Read More to that Topic: azuredevopsguide.com/access-to-path-sourcemapping-json-is-denied-in-azuredevops/ […]