# Disable creation of TFVC repositories

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

Source: https://maester.dev/docs/tests/AZDO.1028

<!-- This file is generated by website/scripts/generate-test-docs.mjs. Do not edit manually. -->

<div class="test-byline"><div class="test-byline-avatars"><a class="test-byline-avatar test-byline-avatar--author" href="/contributors/sebastianclaesson" title="Sebastian Claesson · Original author"><img src="https://github.com/SebastianClaesson.png" alt="Sebastian Claesson" width="28" height="28" loading="lazy" decoding="async" /></a></div><div class="test-byline-meta"><span class="test-byline-text">Contributed by <a href="/contributors/sebastianclaesson">Sebastian Claesson</a></span><a class="test-byline-link" href="/contributors">All contributors →</a></div></div>

<p class="test-part">Part of <a href="/docs/tests/maester">Maester</a> · Azure DevOps · Repositories · <a href="/docs/tests">All checks</a></p>

```powershell title="Run this check"
Invoke-Maester -TestId AZDO.1028
```

## 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.

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.

#### Related links

* [Learn - Removal of TFVC in new projects](https://learn.microsoft.com/azure/devops/release-notes/roadmap/2024/no-tfvc-in-new-projects)

## Details

<details>
<summary>Every attribute of this check</summary>

| 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](https://github.com/maester365/maester/blob/main/tests/maester/azure-devops/Test.AZDO.1028.ps1) |
| Services | AzureDevOps |
| Learn more | [https://learn.microsoft.com/azure/devops/release-notes/roadmap/2024/no-tfvc-in-new-projects](https://learn.microsoft.com/azure/devops/release-notes/roadmap/2024/no-tfvc-in-new-projects) |

</details>

## Source

- Test: [`tests/maester/azure-devops/Test.AZDO.1028.ps1`](https://github.com/maester365/maester/blob/main/tests/maester/azure-devops/Test.AZDO.1028.ps1)
- Documentation: [`tests/maester/azure-devops/Test.AZDO.1028.md`](https://github.com/maester365/maester/blob/main/tests/maester/azure-devops/Test.AZDO.1028.md)
