I am unable to upgrade my Postgres version on a Azure DB Flexible Server

Brad Siefert 0 Reputation points
2025-11-06T20:01:49.32+00:00

Attempting the upgrade the soon to EOL v13 from the Azure portal from the Overview tab. I receive the following error: {

"code": "ParameterOutOfRange",

"message": "The value of the 'Version' should be in: []. Verify that the specified parameter value is correct."

}

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. Swapnesh Panchal 1,380 Reputation points Microsoft External Staff Moderator
    2025-11-06T23:13:42.2666667+00:00

    Hi Brad Siefert,
    Welcome to Microsoft Q&A and thank you for posting your question.

    That error means the portal isn’t being offered any valid target versions for an in-place major upgrade on this server right now (the service returns an empty list, so you see Version should be in: []). A few quick checks and a CLI fallback usually resolve it:

    1) Verify upgrade prerequisites (common blockers)

    • Remove read replicas, logical replication slots, unsupported extensions (timescaledb, dblink, orafce, postgres_fdw; re-add later if supported).
    • Ensure ~10–20% free storage; HA will be toggled during upgrade; SSD v2 storage isn’t eligible.
    • If upgrading from PG11 first enable SCRAM; otherwise not required. Docs list all prechecks/limits and what the upgrade does under the hood.

    2) Confirm target versions available in your region

    az postgres flexible-server list-skus --location <your-region> -o table
    

    This shows versions/SKUs the service currently advertises for your region.

    3) Start the upgrade from CLI (skips the portal dropdown) You can upgrade directly to a supported later major (e.g., 16 or 17):

    az postgres flexible-server upgrade -g <rg> -n <server> --version 16 --yes
    

    The CLI command and supported targets are documented; Flexible Server supports in-place major upgrades and can skip versions.

    4) If the CLI also returns ParameterOutOfRange or list-skus shows no versions This points to a regional/SKU gating or capacity issue rather than your configuration. Capture the server resource ID, region, current version, and the failing command output and open a support request so the service team can enable the proper targets for your server. (We’ve seen the same empty-list symptom reported publicly.)


    References

    If you share your region/SKU, current PG version, and any extensions in use, I can suggest the exact precheck fixes and a target version to use.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.