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.1030 Disable the admin account for Azure Container Registries

Severity: MediumAzure

Azure Container Registry's admin account provides a shared credential with broad registry access. This custom test fails when adminUserEnabled is true and is not APRL-mapped.

Remediation action:

  1. In the Azure portal, open the registry and select Access keys.
  2. Before disabling the admin account, identify workloads, deployment pipelines, and users that rely on its credentials.
  3. Migrate those consumers to Microsoft Entra ID or a service principal with only the required permissions, and validate that image pulls and pushes still work.
  4. After confirming no consumers depend on the admin credentials, turn off Admin user and save.

Using Azure CLI: az acr update --name <registry> --admin-enabled false

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