Azure / Azure/azure-cli

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

Open
#32,900 2 comments 0 reactions 1 assignee Assigned to @calvinhzy View on GitHub
act-codegen-extensibility-squad Auto-Assign Auto-Resolve Azure CLI Team customer-reported question Storage
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.