Describe the bug
Running az postgres flexible-server execute returns an error that the command does not exist.
Documentation does not reflect that this command has been modified or depreciated.
Related command
az postgres flexible-server execute
Errors
'execute' is misspelled or not recognized by the system.
Issue script & Debug output
az postgres flexible-server execute
'execute' is misspelled or not recognized by the system.
Expected behavior
The command to be present, as described in the docs.
Environment Summary
azure-cli 2.85.0
core 2.85.0
telemetry 1.1.0
Extensions:
account 0.2.5
amg 2.8.1
authV2 1.0.1
Dependencies:
msal 1.35.1
azure-mgmt-resource 24.0.0
Python location '/opt/az/bin/python3'
Config directory '/home/xxx/.azure'
Extensions directory '/home/xxx/.azure/cliextensions'
Python (Linux) 3.13.11 (main, Mar 31 2026, 07:18:38) [GCC 13.3.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
https://learn.microsoft.com/en-us/cli/azure/postgres/flexible-server?view=azure-cli-latest#az-postgres-flexible-server-execute
Describe the bug
Running
az postgres flexible-server executereturns an error that the command does not exist.Documentation does not reflect that this command has been modified or depreciated.
Related command
az postgres flexible-server execute
Errors
'execute' is misspelled or not recognized by the system.Issue script & Debug output
az postgres flexible-server execute
'execute' is misspelled or not recognized by the system.
Expected behavior
The command to be present, as described in the docs.
Environment Summary
azure-cli 2.85.0
core 2.85.0
telemetry 1.1.0
Extensions:
account 0.2.5
amg 2.8.1
authV2 1.0.1
Dependencies:
msal 1.35.1
azure-mgmt-resource 24.0.0
Python location '/opt/az/bin/python3'
Config directory '/home/xxx/.azure'
Extensions directory '/home/xxx/.azure/cliextensions'
Python (Linux) 3.13.11 (main, Mar 31 2026, 07:18:38) [GCC 13.3.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
https://learn.microsoft.com/en-us/cli/azure/postgres/flexible-server?view=azure-cli-latest#az-postgres-flexible-server-execute