Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Folder "K:\AOSService" is mapped to the workspace for user "ABC" on the cloud hosted VM

(0) ShareShare
ReportReport
Posted on by 5

Hi,

A new user is logging into a cloud hosted VM and creating a new workspace(TFS). When the "Metadata" folder on the TFS is mapped to local "K\AOSService" folder it throws the error and this folder is mapped to the workspace "Dev...;ABC".

I have checked through the developer command line "Tf workspaces" and I do not see the workspace mentioned in the error message except the one I am creating.

I have tried the following so far:

  1. Cleared the local machine TFS cache
  2. Tried deleting the workspace through the "Tf workspace..." delete command but it can't find the workspace in the error
  3. Restarted the VM
  4. Checked for any remote workspaces but cannot find any with those credentials

Any pointers will be helpful.

thanks in advance.

  • Suggested answer
    Ibadur Rehman Profile Picture
    Ibadur Rehman 5 on at
    RE: Folder "K:\AOSService" is mapped to the workspace for user "ABC" on the cloud hosted VM

    Thank you all for your responses.

    The issue got resolved when I used the "tf workspace /delete: "{workspace name};{user's guid}" " 

    hopefully it can be of help to others.

  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,759 Most Valuable Professional on at
    RE: Folder "K:\AOSService" is mapped to the workspace for user "ABC" on the cloud hosted VM

    Hello Ibadur ,

    You mentioned, you also check the remote workspace and could not find any related to the current login credential.

    You might want to logon directly to the DevOps portal and check who checked in the mapping for that folder.

    TangerineDev.png

    With the screenshot above, I would contact Winner Siabi to unmap. It makes it easier.

  • Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: Folder "K:\AOSService" is mapped to the workspace for user "ABC" on the cloud hosted VM

    Please verify that you are using the command to delete workspace correctly.

    www.cloudfronts.com/.../

    Also, if you know the Developer who was using that VM, if you have access to the developer, he/she can login to VSTS in visual studio and delete the workspace manually.

  • Ibadur Rehman Profile Picture
    Ibadur Rehman 5 on at
    RE: Folder "K:\AOSService" is mapped to the workspace for user "ABC" on the cloud hosted VM

    Thank you Mohit for your reply.

    Yes I have tried using the "tf workspace /delete..." command to remove the workspace but it comes back with the message that the workspace does not exist.

    It seems like an Orphan record in the TFS database? not sure if it stores in a file or database and how to check this further.

  • Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: Folder "K:\AOSService" is mapped to the workspace for user "ABC" on the cloud hosted VM

    Hi, Please check if you have followed steps mentioned in this article

    alexvoy.blogspot.com/.../tf-command-line-to-fix-error-mapping-on.html

    Also, you can check this thread for more suggestions

    community.dynamics.com/.../how-to-remove-tfs-workspace-mapping-for-another-user

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans