Disable creation of TFVC repositories
AZDO.1028 is in Maester 3.0.0-preview and not in the stable 2.3.0 release yet. It will be in the next stable release. To use it now, install the preview:
Install-Module Maester -AllowPrerelease -ForceHow to get the preview, and go backUse the preview in GitHub Actions
Part of Maester · Azure DevOps · Repositories · All checks
Invoke-Maester -TestId AZDO.1028Overview
Section titled “Overview”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.
Remediation action
Section titled “Remediation action”Enable the policy to disable the creation of TFVC repositories.
- Sign in to your organization.
- Choose Organization settings.
- Under the Repos section choose Repositories.
- 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.
Related links
Section titled “Related links”Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AZDO.1028 |
| Severity | Medium |
| Suite | Maester |
| Product | Azure DevOps |
| Feature | Repositories |
| Area | Engineering systems |
| Resource type | Tenant |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | None |
| PowerShell test | Test-AzdoOrganizationRepositorySettingsDisableCreationTFVCRepo |
| Services | AzureDevOps |
| Learn more | https://learn.microsoft.com/azure/devops/release-notes/roadmap/2024/no-tfvc-in-new-projects |
Source
Section titled “Source”About this check
- Severity
- Medium
- Effort to fix
- Low
- Impact on users
- Low
- Product
- Azure DevOps
- Feature
- Repositories
- Area
- Engineering systems
- Suite
- Maester