Skip to content
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Sponsor

Disable creation of TFVC repositories

AZDO.1028MediumAzure DevOpsRepositoriesPreview 3.0

Part of Maester · Azure DevOps · Repositories · All checks

Run this check
Invoke-Maester -TestId AZDO.1028

Creation of Team Foundation Version Control (TFVC) repositories should be disabled.

Rationale: Over the past several years, we added no new features to Team Foundation Version Control (TFVC). Git is the preferred version control system in Azure Repos. Furthermore, all the improvements we made in the past few years in terms of security, performance, and accessibility were only made to Git repositories.

Enable the policy to disable the creation of TFVC repositories.

  1. Sign in to your organization.
  2. Choose Organization settings.
  3. Under the Repos section choose Repositories.
  4. In the All Repositories Settings section, toggle on “Disable creation of TFVC repositories”.

Results: Disable creation of TFVC repositories. You can still see and work on TFVC repositories created before.

Every attribute of this check
FieldValue
Test IDAZDO.1028
SeverityMedium
SuiteMaester
ProductAzure DevOps
FeatureRepositories
AreaEngineering systems
Resource typeTenant
User impactLow
Implementation costLow
MITRE ATT&CKNone
PowerShell testTest-AzdoOrganizationRepositorySettingsDisableCreationTFVCRepo
ServicesAzureDevOps
Learn morehttps://learn.microsoft.com/azure/devops/release-notes/roadmap/2024/no-tfvc-in-new-projects