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

Announcements

No record found.

News and Announcements icon
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
    239,029 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,843 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans