# Storage Usage Limit

Storage Usage Limit. A Maester check for Azure DevOps, Resource usage and limits.

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

<!-- 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 · Resource usage and limits · <a href="/docs/tests">All checks</a></p>

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

## Overview

Azure Artifacts provides 2 GiB of free storage for each organization. Once your organization reaches the maximum storage limit, you will not be able to publish new artifacts. To continue, you can either delete some of your existing artifacts or increase your storage limit.

Rationale: The storage limit should not be reached; hitting it blocks artifact publication.

#### Remediation action

- [Configure retention policies](https://learn.microsoft.com/azure/devops/artifacts/how-to/delete-and-recover-packages?view=azure-devops&tabs=nuget#delete-packages-automatically-with-retention-policies)
- [Set up billing](https://learn.microsoft.com/azure/devops/organizations/billing/set-up-billing-for-your-organization-vs?view=azure-devops#set-up-billing)
- Increase Artifacts storage limit
  - [Set up billing for your organization.](https://learn.microsoft.com/azure/devops/organizations/billing/set-up-billing-for-your-organization-vs?view=azure-devops#set-up-billing)
  - Sign in to your Azure DevOps organization, select Organization settings > Billing, and select No limit, pay for what you use from the Usage limit dropdown.
  - Select Save when you are done.

#### Related links

- [Learn - Package size and count limits](https://learn.microsoft.com/azure/devops/artifacts/reference/limits?view=azure-devops)

## Details

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

| Field | Value |
| --- | --- |
| Test ID | AZDO.1029 |
| Severity | Info |
| Suite | Maester |
| Product | Azure DevOps |
| Feature | Resource usage and limits |
| Area | Engineering systems |
| Resource type | Tenant |
| MITRE ATT&CK | None |
| PowerShell test | [Test-AzdoOrganizationStorageUsage](https://github.com/maester365/maester/blob/main/tests/maester/azure-devops/Test.AZDO.1029.ps1) |
| Services | AzureDevOps |
| Learn more | [https://learn.microsoft.com/azure/devops/artifacts/reference/limits?view=azure-devops](https://learn.microsoft.com/azure/devops/artifacts/reference/limits?view=azure-devops) |

</details>

## Source

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