Skip to content

postgres flexible-server firewall-rule change not included in v2.86.0 #33333

@askingcat

Description

@askingcat

Describe the bug

Four months ago, it was announced that the parameters for creating a firewall rule will change in a breaking manner with v2.86.0. This is also still stated in the docs.

Image

However, v2.86.0 will fail if the new argument --server-name is given and the code, which I assume should have been updated, had no changes in the past four months.

Was this change potentially also postponed to v2.87.0, as many other postgres related changes?

Related command

az postgres flexible-server firewall-rule create

Errors

unrecognized arguments: --server-name ******

Issue script & Debug output

az postgres flexible-server firewall-rule create \
        --resource-group "${azname}" \
        --name "askingcat" \
        --server-name "${azname}" \
        --start-ip-address "${ip}" \
        --end-ip-address "${ip}"
unrecognized arguments: --server-name ******

(Debug log should not be necessary for this.)

Expected behavior

The new parameter(s) are recognized as announced in the documentation for breaking changes.

Environment Summary

azure-cli                         2.86.0

core                              2.86.0
telemetry                          1.1.0

Extensions:
account                            0.2.5
aks-preview                     20.0.0b6
application-insights               1.2.3
azure-devops                       1.0.3
dataprotection                     1.9.0
log-analytics                    1.0.0b1
https://aka.ms/cli_ref
Read more about the command in reference docs
resource-graph                     2.1.1

Dependencies:
msal                              1.35.1
azure-mgmt-resource               24.0.0

Python (Linux) 3.13.13 (main, May  1 2026, 00:24:40) [GCC 13.3.0]

Legal docs and information: aka.ms/AzureCliLegal


Your CLI is up-to-date

Additional context

We provided a wrapper for our users to avoid breaking changes for them by either calling az with the old parameters or the new ones, based on their version. Unfortunately, due to this bug this now didn't work as expected.

Metadata

Metadata

Labels

Auto-AssignAuto assign by botDocumentationPostgreSQLService AttentionThis issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions