Skip to content

az storage blob list --include i does not pass thru correctly for immutability policies #32900

@JustinGrote

Description

@JustinGrote

Describe the bug

The --include i option does not pass thru to the REST API correctly and the information does not return.

Related command

az storage blob list -c container --account-name acount --include i --verbose --debug

Errors

No Errors but immutability missing and the include is missing from the query.

Issue script & Debug output

urllib3.connectionpool: Starting new HTTPS connection (1): account.blob.core.windows.net:443
urllib3.connectionpool: https://account.blob.core.windows.net:443 "GET /container?restype=container&comp=list&maxresults=5000&include= HTTP/1.1" 200 None

Note the include does not have i in the list. If you do c or the other options, those work as expected.

Expected behavior

Immutable behavior info is present instead of null

Environment Summary

azure-cli                         2.83.0

core                              2.83.0
telemetry                          1.1.0

Dependencies:
msal                            1.35.0b1
azure-mgmt-resource               23.3.0

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\xxx\.azure'
Extensions directory 'C:\Users\xxx\.azure\cliextensions'

Python (Windows) 3.13.11 (tags/v3.13.11:6278944, Dec  5 2025, 16:26:58) [MSC v.1944 64 bit (AMD64)]

Legal docs and information: aka.ms/AzureCliLegal

Additional context

No response

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAuto-ResolveAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamStorageaz storageact-codegen-extensibility-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions