Remove user accounts

Azure DevOps Services | Azure DevOps Server 2019 | TFS 2018 | TFS 2017 | TFS 2015 | TFS 2013

When a user with access to Azure DevOps leaves a company, an administrator would typically remove them from Azure Active Directory or Active Directory. This automatically voids their user account and remove their ability to access or connect to Azure DevOps.

If you manage your Azure DevOps users with Microsoft Service Accounts (MSA), then you'll need to remove their account.

In this topic you'll find:

  • A checklist to review when removing user accounts
  • Options for removing users from organizations in Azure DevOps
  • Links to topics for removing user accounts from AD or Azure AD

In this topic you'll find:

  • A checklist to review when removing user accounts
  • Links to topics for removing user accounts from AD or Azure AD

Consider when removing users

  • Have you granted users any paid extensions? You'll want to transfer those extensions to another user.
  • Do users have any tokens that you need to revoke?
  • Have you granted individual user accounts special permissions that need to be revoked?
  • Have you reassigned work users you are removing to current team members?

Remove users from an organization in Azure DevOps

If your organization uses MSA accounts, then to you must remove users from the organization as you have no other way to prevent access. When you do so, you'll not be able to create a query for work items assigned to the removed user account. To learn more, see Delete users from Azure DevOps.

If your organization is backed by Azure AD, then you can disable or delete the Azure AD user account while leaving their Azure DevOps account active. In this way, you can continue to query their work item history using their account name.

Remove users from AD or Azure AD

For information on removing users from AD or Azure AD, see one of these topics:

Reduce the number of paid users, reassign paid extensions

Note

To manage users, you must be a member of the Project Collection Administrator group.