Canonical: https://weaveos.com/reference/azure-blob-storage/list-blob-versions

1. [Software capabilities](https://weaveos.com/reference)
2. /[Azure Blob Storage](https://weaveos.com/reference/azure-blob-storage)
3. /How to list Azure Blob Storage versions

[![](https://weaveos.com/reference/logos/azure-blob-storage.svg)Azure Blob Storage](https://weaveos.com/reference/azure-blob-storage)

# How to list Azure Blob Storage versions

Use List Blobs with include=versions for a programmatic inventory, or use az storage blob list --include v for a terminal inspection.

Documentation reviewed November 27, 2026 · 2 methods with sources

## Ways to do it

1. [1API: List Blobs with include=versions](https://weaveos.com/reference/azure-blob-storage/list-blob-versions#method-1)
2. [2CLI: az storage blob list --include v](https://weaveos.com/reference/azure-blob-storage/list-blob-versions#method-2)

API

### List Blobs with include=versions

List blob versions in a container. Optionally add a name prefix to narrow the results and read VersionId for each returned version.

[Read source: Azure Storage List Blobs REST API](https://learn.microsoft.com/en-us/rest/api/storageservices/list-blobs)

- Requirements

  For Microsoft Entra authorization, use an Azure Storage bearer token and Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read. Storage Blob Data Reader is the least-privileged built-in role. Supply x-ms-date and x-ms-version headers and a container with versions to list.

- Limitations

  The versions include value requires REST API version 2019-12-12 or later. A page contains up to 5,000 items and may contain fewer. Continue using NextMarker.

Example shell

Copy

```
curl --fail -H "Authorization: Bearer $AZURE_STORAGE_TOKEN" \
  -H "x-ms-date: $AZURE_STORAGE_DATE" \
  -H "x-ms-version: 2023-11-03" \
  "https://$AZURE_STORAGE_ACCOUNT.blob.core.windows.net/$AZURE_CONTAINER?restype=container&comp=list&include=versions&maxresults=100"
```

CLI

### az storage blob list --include v

Request blob versions from a container with Azure CLI and use --prefix to narrow the listing by blob name.

[Read source: Microsoft Azure CLI blob list reference](https://learn.microsoft.com/en-us/cli/azure/storage/blob?view=azure-cli-latest#az-storage-blob-list)

- Requirements

  Azure CLI, an active Azure sign-in for --auth-mode login, Storage Blob Data Reader access on the container or a parent scope, and existing versions to list.

- Limitations

  The listing defaults to up to 5,000 items. Use --show-next-marker and --marker to page, or --num-results '\*' to request all results.

Example shell

Copy

```
az storage blob list --account-name "$AZURE_STORAGE_ACCOUNT" \
  --container-name "$AZURE_CONTAINER" --auth-mode login --include v \
  --num-results 100 --show-next-marker
```

## More from Azure Blob Storage

[View all 1 Azure Blob Storage tasks](https://weaveos.com/reference/azure-blob-storage)

## The same task in other apps

- [![](https://weaveos.com/reference/logos/aws-lambda.svg)AWS Lambda](https://weaveos.com/reference/aws-lambda)

  ### [List versions of an AWS Lambda function](https://weaveos.com/reference/aws-lambda/list-function-versions)

  Use the AWS CLI to inspect the versions of a function from your terminal. The Go SDK’s paginator lets a script process each page of version configurations.

  CLI, SDK

- [![](https://weaveos.com/reference/logos/google-cloud-storage.svg)Google Cloud Storage](https://weaveos.com/reference/google-cloud-storage)

  ### [List object generations in Google Cloud Storage](https://weaveos.com/reference/google-cloud-storage/list-object-generations)

  Use the JSON API or gcloud storage ls to inspect object versions and generations in a bucket. Keep the version flag explicit when reconciling historical objects.

  API, CLI

- [![](https://weaveos.com/reference/logos/azure-container-registry.svg)Azure Container Registry](https://weaveos.com/reference/azure-container-registry)

  ### [List image tags in Azure Container Registry](https://weaveos.com/reference/azure-container-registry/list-image-tags)

  Read tag names and immutable digest metadata for one repository without pulling image layers or changing registry state.

  API, CLI

- [ADAzure DevOps](https://weaveos.com/reference/azure-devops)

  ### [List Azure DevOps pipeline runs](https://weaveos.com/reference/azure-devops/list-pipeline-runs)

  Inspect recent pipeline run metadata for a project and optionally constrain by pipeline, branch, status, result, or time order.

  API, CLI
