---
title: "Azure Storage LRS→ZRS migration: the account reports the target SKU immediately, so IaC must switch at migration start"
url: "https://www.dariuszparys.com/notes/azure-storage-lrs-zrs-migration-reports-target-sku"
author: "Dariusz Parys"
published: 2026-11-26T00:00:00.000Z
description: "A deployment that still declares Standard_LRS fails with SkuConversionInProgress during an LRS-to-ZRS migration, because the storage account reports Standard_ZRS as soon as the migration starts."
tags:
  - "Azure"
  - "Azure Storage"
  - "Bicep"
---

# Azure Storage LRS→ZRS migration: the account reports the target SKU immediately, so IaC must switch at migration start

## Context

You can't change an existing storage account from LRS to ZRS by editing the SKU in Bicep or Terraform. It needs a customer-initiated migration, which can take days to weeks and cannot be stopped:

```bash
az storage account migration start --account-name <account> -g <rg> \
  --sku Standard_ZRS --no-wait --yes
```

A natural assumption is that the account keeps reporting `Standard_LRS` until the migration completes, so the IaC should keep LRS until then.

## Insight

That assumption is wrong. As soon as the migration status is `InProgress`, `sku.name` already reports **`Standard_ZRS`**. A deployment that still declares `Standard_LRS` fails:

> `SkuConversionInProgress`: Sku update from Standard_ZRS to Standard_LRS is not allowed at the moment. Please try again later.

**Set the target SKU in code from the moment the migration starts.** Keeping the old SKU blocks every deploy of that template until the migration finishes. That can be weeks.

> **Observed, not documented (2026-11-26):** The Microsoft Learn redundancy-migration page and FAQ don't say which SKU the account reports during a conversion, or that deployments fail then. This comes from a real migration: `sku.name` showed `Standard_ZRS` while the status was `InProgress`, a deploy declaring `Standard_LRS` failed, and a deploy declaring `Standard_ZRS` succeeded during the same migration.

## Check what the account really reports

```bash
az storage account show -n <account> -g <rg> --query sku.name -o tsv
az storage account migration show --account-name <account> -g <rg> \
  --migration-name default --query migrationStatus -o tsv
```

The data stays readable and writable throughout the migration, with no loss of availability.
