AZDO.1028 - Disable creation of TFVC repositories.
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โ
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โ
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AZDO.1028 |
| Severity | Medium |
| Suite | Maester |
| Category | Azure DevOps |
| PowerShell test | Test-AzdoOrganizationRepositorySettingsDisableCreationTFVCRepo |
| Services | AzureDevOps |
| Learn more | https://learn.microsoft.com/azure/devops/release-notes/roadmap/2024/no-tfvc-in-new-projects |
| Tags | AZDO, AZDO.1028 |
Sourceโ
- Test:
tests/Maester/AzureDevOps/Test.AZDO.1028.ps1 - Documentation:
tests/Maester/AzureDevOps/Test.AZDO.1028.md
