What Is Azure Resource Manager? How ARM Deploys a Bicep Change

Updated on December 1, 20265.1

Azure Resource Manager (ARM) is the management layer Azure uses to create, change and manage resources. When you create a storage account in the portal or deploy one from a Bicep file, the request goes through Resource Manager. ARM checks the management request and passes it to the service responsible for that resource type.

The terminology can be confusing because an ARM template is a JSON deployment definition, while Bicep is a language that compiles to an ARM template. Resource Manager is the service that processes the deployment. You can also make management requests without writing a template, for example by changing a setting in the portal.

Follow one infrastructure change through ARM

Suppose a team wants to add a storage account to an existing sandbox resource group. The group is where the team manages that resource’s lifecycle. The Bicep file describes the storage account the team wants. The deployment identity still needs the appropriate access at the target scope.

  1. Build: Bicep converts the declaration to JSON. This can succeed even if the target subscription would reject the change.
  2. Preview: ARM what-if compares the proposed declaration with Azure state and reports expected changes. Check the target scope and each reported change.
  3. Deploy: ARM applies the management request and the relevant resource provider, here Microsoft.Storage, handles the storage account operation. Azure role assignments, policy, locks and service constraints can affect the result.
  4. Verify: Confirm the new resource’s management settings, then test its intended service operation with the intended identity. The resource’s presence does not prove that the application can use it.

Microsoft describes the control plane and data plane and Bicep’s role in deployment. Changing the storage account is a management operation. Reading a blob is a data operation and can require separate access and network configuration. For the wider platform picture, see our Azure overview.

Review a Bicep change before deployment

This hypothetical example declares an account in the same region as an existing sandbox group. The storage name must be globally unique and valid. The example disables anonymous access to blobs at the account level. Public network access and private endpoints are separate settings. The application also needs its own authorization. The example was checked against Microsoft’s storage account schema and was neither compiled nor deployed for this article.

targetScope = 'resourceGroup'

param storageName string

resource account 'Microsoft.Storage/storageAccounts@2023-05-01' = {
  name: storageName
  location: resourceGroup().location
  kind: 'StorageV2'
  sku: {
    name: 'Standard_LRS'
  }
  properties: {
    allowBlobPublicAccess: false
  }
}

Save the file as main.bicep. With Azure CLI configured and an authorized sandbox selected, you can preview it without deploying the account. Default what-if validation generally requires the same permissions as deploying the template. Replace the three example names with your sandbox subscription ID, group name, and valid account name. Review organizational access and use the same parameters you would use for the eventual deployment.

az deployment group what-if \
  --subscription "<sandbox-subscription-id>" \
  --resource-group "<sandbox-resource-group>" \
  --template-file main.bicep \
  --parameters storageName="<globally-unique-storage-name>"

The what-if documentation explains required permissions and analysis limits. A planned Create for the intended account is consistent with this example when the name is new. A Modify when you expected a new account is a reason to identify the matching resource before proceeding. If the preview reports that it could not analyze part of the deployment, investigate the gap. A preview is useful evidence about proposed changes, but does not reserve capacity, guarantee name availability at deployment, or prove the eventual application can connect.

Use this approval check for the storage example

  • Expected: The exact resource ID matches the sandbox subscription, group and account name, and the account is listed as Create.
  • Hold: The account is listed as Modify, another resource is affected unexpectedly, or diagnostics identify an unresolved preview gap. Resolve the discrepancy and rerun the preview.
  • Verify after deployment: Confirm the intended settings in the same sandbox. From the application’s network and identity, read a separately provisioned non-sensitive test blob and check the returned content. This template creates only the account.

These are expected observations for this example, rather than captured Azure output.

Choose the next check from the evidence you have

The same storage change can fail at different stages
What you see What it establishes What to check next
Bicep compilation stops with an error before an Azure request is sent. The source definition does not compile successfully. Check the property spelling and the selected resource API version.
What-if shows an existing account would change instead of showing a new account. The proposed resource resolved to an existing address. Verify the subscription, group and account name. Confirm the intended change before deployment.
Deployment fails with a policy denial. Azure rejected a requested management operation. Identify the policy assignment and the denied property. Work with the policy owner on a compliant change.
ARM reports success, but the app cannot read a known test blob. The management operation succeeded. The intended data operation still fails. Check the application identity, data-role scope and network path. Confirm the request targeted the expected account and test object.

For this example, log the target subscription and resource group, expected operation, deployment name if one was run, and what the application actually tested. If a deployment failed, save the inner error and operation details, since the top-level error may only summarize the failure. Use Microsoft’s deployment troubleshooting guide to interpret the error before retrying.

What happens when you deploy again?

With the default incremental deployment mode, resources outside the template are generally left in place. Properties on a resource that is in the template can be reapplied or reset when omitted, depending on the resource. Incremental deployments do not work like partial updates to individual fields. Keep the desired settings in the source declaration and review the preview even if you intended to change only one value.

Before approving a change, compare the intended resource with the preview, verify the deployment result, and exercise the operation the application actually needs. Each check gives you evidence about a different part of the change.

Related reading — choose the right resource group for the workload; trace code deployment and application requests.

About the Author: Jian Brant

Founder Jian Brant
Jian Brant is a technology professional and founder of Punch5Media, with extensive experience in web development, enterprise IT, business analysis and digital transformation. Drawing on his experience across public and private sector organizations, he delivers thoroughly researched, practical insights into technology, cybersecurity, software and digital business.

Share this article

Explore technology

Practical, independent technology guides and explanations.

Browse all articles →

Recent articles

Our editorial approach

Clear explanations, practical guidance and responsible research.

Editorial standards →