web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

how to remove TFS workspace mapping for another user

(1) ShareShare
ReportReport
Posted on by 27

Hi 
Recently one of team mate left the team and forgot to log off her account in VsCode, apparently I don't have access to her account credentials.
Currently I am facing an issue while mapping my account to the Vs code. I will attach the error message below.

The working folder K:\AosService\PackagesLocalDirectory is already in use by the workspace dev230c509166-1_1;Person Name on computer dev230c509166-1.

Could someone please help me with this issue?. I want to remove her credentials and map it my credentials .

 

Thank you.

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    If you put the title of your thread to a seach engine, you would have found a thread with a completely identical name at Stack Overflow and you could've read the answer there. Here is a difect link for you: how to remove TFS workspace mapping for another user.

    For example, you can use tf workspace /delete "WORKSPACENAME;PREVIOUSUSERACCOUNT".

  • Verified answer
    GirishS Profile Picture
    27,827 Moderator on at

    Hi Dhanush,

    Here is the detailed blog.

    http://alexvoy.blogspot.com/2021/06/tf-command-line-to-fix-error-mapping-on.html

    Thanks,

    Girish S.

  • Verified answer
    Mariano Gracia Profile Picture
    on at

    use visual studio command prompt and execute:

    TF workspace /delete MACHINE_NAME;USER_ACCOUNT /collection:"https://TFS_PROJECT_URL.visualstudio.com"

    this way you'll delete the user mapping.

    You can also use this command:

    TF workspaces /computer:* /owner:* /collection:"https://TFS_PROJECT_URL.visualstudio.com"

    to query all the users workspaces, so you can ensure there are no other workspaces configured for that user

  • Dhanush R Profile Picture
    27 on at

    Thank you Girish, It worked

  • Dhanush R Profile Picture
    27 on at

    Thank you Mariano.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans