Pcornel
Browse topics
Options
Recent
Favorites
Cloud · Technical reference

Azure Storage

Direct answer

Azure Storage provides object storage (Blob), SMB/NFS file shares (Files), queues and tables inside storage accounts, plus managed disks for VMs. Redundancy (LRS, ZRS, GRS, GZRS) decides how many copies exist and where.

When to use this

Use it to store application data, backups, logs and VM disks, and to choose redundancy, access method and network exposure.

First 30 seconds

1. Which redundancy, and does it match the RPO/zone requirements?

2. How do clients authenticate (Entra ID, SAS, key)?

3. Is public network access disabled and private endpoint DNS working?

4. Are soft delete/versioning enabled for recovery?

Operational verification

client → DNS (public or privatelink) → network rules/private endpoint → authorisation (Entra ID RBAC, SAS, key) → storage service (blob/file/queue/table) → replicas per redundancy → optional secondary region

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Microsoft Azure Storage; az CLI.
Applicability is projected only from persisted Topic profile and Command metadata.
At a glance

Operational reference

Fast context before you go deeper.

PlatformMicrosoft Azure Storage; az CLI.
Key commandaz storage account show --resource-group $RG --name $ACCT \
Scope / prerequisiteUse it to store application data, backups, logs and VM disks, and to choose redundancy, access method and network expos…
What next?2 suggested next steps
Evidence0
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Read-only Verification Verify boundary
ACCT=stappdata01; RG=rg-app

az storage account show --resource-group $RG --name $ACCT \
  --query "{sku:sku.name, kind:kind, publicAccess:publicNetworkAccess, blobAnon:allowBlobPublicAccess, sharedKey:allowSharedKeyAccess, tls:minimumTlsVersion}"

# Primary/secondary status (geo-redundant accounts)
az storage account show --resource-group $RG --name $ACCT --query "{primary:statusOfPrimary, secondary:statusOfSecondary, location:primaryLocation, secondaryLocation:secondaryLocation}"

# Blob data protection
az storage account blob-service-properties show --resource-group $RG --account-name $ACCT \
  --query "{softDelete:deleteRetentionPolicy, versioning:isVersioningEnabled}"

# Private endpoints on the account
az network private-endpoint-connection list --id $(az storage account show -g $RG -n $ACCT --query id -o tsv) --output table

# Managed disks
az disk list --resource-group $RG --query "[].{name:name, sku:sku.name, sizeGb:diskSizeGb, state:diskState, zone:zones[0]}" --output table
Step 2 Common mistakes Narrow the fault
  • Treating GRS as a backup (deletes and corruption replicate).
  • Long-lived account SAS tokens in scripts and URLs.
  • Public blob access left enabled.
  • Private endpoints without private DNS.
  • LRS for data that must survive a zone failure.
Step 3 Troubleshooting Narrow the fault

403 AuthorizationPermissionMismatch. The identity has a control-plane role but no data role (Storage Blob Data …), or shared key access is disabled and the client uses a key.

403 from network rules. Public network access disabled or firewall rules exclude the client; check private endpoint DNS resolution from the client.

SAS stops working. Expired, clock skew, wrong permissions or IP range, or the signing key was rotated.

Archive blob cannot be read. It must be rehydrated to an online tier first.

Data deleted. Recover from soft delete or previous versions if enabled — redundancy replicates deletes.

Key points

LRS = copies in one datacenter; ZRS = across zones; GRS/GZRS add an asynchronous copy in a secondary region, readable only with RA- variants or after failover. Prefer Entra ID authorisation over account keys; SAS tokens expire — use short-lived, scoped ones. Disable public network access and use private endpoints for sensitive data.

Key checks
  • az storage account show -g <rg> -n <acct> --query "{sku:sku.name, kind:kind, public:publicNetworkAccess, tls:minimumTlsVersion}".
  • az storage account show -n <acct> --query "{primary:statusOfPrimary, secondary:statusOfSecondary}".
  • az disk list -g <rg> -o table — managed disks, SKU, size, state.
ReferenceWhat it is2 sections · depth on demand

Direct Answer

An Azure storage account holds Blob containers (object storage), Azure Files shares (SMB/NFS), queues and tables, under one name and one set of network and security settings. Its redundancy decides durability: LRS keeps copies in one datacenter, ZRS replicates synchronously across availability zones, and GRS/GZRS additionally copy asynchronously to a secondary region, which is readable only with the RA- variants or after a failover. VM disks are separate managed disks. Secure accounts with Entra ID authorisation, private endpoints and data-protection features such as soft delete and versioning.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Redundancy

OptionPrimary regionSecondary regionSecondary readable
LRSCopies in one datacenter——
ZRSSynchronous across availability zones——
GRSLRSAsynchronous copy (LRS)Only after failover
GZRSZRSAsynchronous copy (LRS)Only after failover
RA-GRS / RA-GZRSAs aboveAs aboveYes, at <account>-secondary endpoint

Geo-replication is asynchronous, so a regional failover can lose the most recent writes (RPO > 0). Customer-managed failover makes the secondary the new primary by updating DNS; data is unavailable during the process. Azure Files does not support the read-access variants.

Services and tiers

ServiceUseNotes
BlobObjects, backups, static content, data lakes (hierarchical namespace)Access tiers hot, cool, cold, archive (archive needs rehydration)
FilesSMB/NFS shares, lift-and-shift file serversIdentity-based SMB access with AD DS or Entra Kerberos; Azure File Sync to on-premises
Queues / TablesSimple messaging / key-value—
Managed disksVM OS and data disksStandard HDD/SSD, Premium SSD, Premium SSD v2, Ultra; LRS or ZRS

Access control

MethodRecommendation
Microsoft Entra ID + RBAC (e.g. Storage Blob Data Reader)Preferred; use managed identities for workloads
User delegation SASShort-lived, signed with Entra credentials
Account or service SASSigned with account key; scope, permissions and expiry carefully
Account keysFull access; rotate, or disable shared key authorisation

RBAC control-plane roles (Owner, Contributor) do not by themselves grant data access when shared keys are disabled — data roles do.

Network and protection

Set minimum TLS version to 1.2, disable anonymous blob access, restrict or disable public network access and use private endpoints (one per sub-service: blob, file, …). Enable soft delete for blobs, containers and shares, versioning, and immutability policies where required; these protect against accidental deletion and some ransomware scenarios that redundancy alone does not.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
azure storagestorage accountazure blob storageazure fileslrszrsgrsgzrssas tokenmanaged disk
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

az storage account show: sku.name shows redundancy (Standard_LRS, ZRS, GRS, RAGRS); allowBlobPublicAccess: true and publicNetworkAccess: Enabled are review items for production; minimumTlsVersion below TLS1_2 should be raised.

Network rules: defaultAction: Deny with listed virtual network rules and IP rules means only those sources reach the data plane; private endpoint connections show Approved when usable.

Blob properties: soft delete and versioning enabled with a retention period mean accidental deletes are recoverable; their absence means a delete is final.

Design & tradeoffs

Design decisions

Redundancy: LRS for re-creatable data, ZRS for production in a region, GRS/GZRS when the data must survive a regional outage (and know that failover is a deliberate action).

Access: prefer Entra ID (RBAC) and managed identities over account keys and long-lived SAS tokens; disable shared key access where applications allow.

Data protection: soft delete, versioning and immutability policies for important data; lifecycle management to move cold data to cool/archive tiers.

Network: private endpoints for production data, public access disabled.

Confirmation

Confirm action

Continue?