Clean up files when users leave

Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019

When a member leaves a team, version control administrators must correctly dispose of that member's files.

Prerequisites

To perform these procedures, you must be a member of the Azure DevOps Administrators or Team Foundation Administrators security group. For more information, see Default TFVC permissions.

Clean up version-controlled files after a team member leaves

  1. Check in any files that are checked out to the team member who has left.

    Note

    If the member's checked-out files do not need to be saved, omit this step.

  2. Delete the workspaces of the member who has left.

    This operation can be performed only from the command line. For more information, see Workspace Command.