LowScript packFree

Azure APRL and Custom Controls

Azure checks comprising APRL-mapped recommendations and local custom controls.

By teemukom · Version 0.1.1 · Published 18 Nov 2026

← All tests

MP.AZR.1034 Enable blob soft delete and supported versioning for Storage accounts

Severity: MediumAzure

Applicable Azure Storage blob services should enable blob soft delete and, where supported, blob versioning to help recover from accidental deletion or modification. This custom test checks service configuration. Versioning is not evaluated for hierarchical-namespace accounts or account types where Azure does not support it.

Remediation action:

  1. In the Azure portal, open the Storage account and select Data protection.
  2. Enable Enable soft delete for blobs and choose a retention period that meets your recovery requirements.
  3. For a supported non-hierarchical-namespace account, also enable Enable versioning for blobs.
  4. Confirm the selected account type supports the settings before changing its configuration.

Using Azure CLI: az storage account blob-service-properties update --account-name <name> --resource-group <resource-group> --enable-delete-retention true --delete-retention-days 7 --enable-versioning true

Related links

%TestResult%

Install
Install-MtPack teemukom/maesterpack-azure

Assumes Maester is installed. New to Maester? Get started.

Next: connect and run
Connect
Connect-Maester -Service Azure
Run
Invoke-Maester -Pack AZR -SkipBuiltIn -SkipGraphConnect