--- title: "Upgrade the Azure platform with CLI" slug: "build-ai-ready-systems-operate-platform-upgrade-azure-platform-with-cli" description: "Plan an Azure platform upgrade, follow the supported Development workflow, verify running applications and manage promotion and recovery safely." tags: ["Deployment", "Platform Operations", "Developer", "Operator"] updated: 2026-12-01T08:10:26Z published: 2026-12-01T08:10:26Z canonical: "docs.aifabrix.ai/build-ai-ready-systems-operate-platform-upgrade-azure-platform-with-cli" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.aifabrix.ai/llms.txt > Use this file to discover all available pages before exploring further. # Upgrade the Azure platform with CLI Preview and apply a platform upgrade to the intended Azure installation, follow each deployment and verify the effective versions. Start with the [administrator upgrade guide](/docs/operate-platform-upgrade-azure-platform) for approval, maintenance and recovery ownership. ## Prerequisites This procedure describes Builder **2.71.0** and Miso **2.1.65** source contracts. Confirm the installed CLI exposes the options below and obtain a compatible supported distribution through your installation administrator. These are inspected versions, not an asserted earliest release. Current Miso provides managed-application order; the legacy behavior below is a separate compatibility path. Use a user login with **applications:read** for discovery and **applications:update** for apply. Verify registry/image availability, backups, key recovery, maintenance approval and no conflicting deployments. Keep the previous effective image references. Use a named profile if necessary to preserve the intended operator identity. ## Where it lives Remote scope targets the authenticated Controller and defaults to environment **dev**. Remote apply is DEV-only; checks can inspect other environments. Local Docker has its [own upgrade procedure](/docs/build-ai-ready-systems-operate-platform-upgrade-local-platform). Choose one scope explicitly before applying. ## How to set 1. Establish your target and inspect command availability: ``` aifabrix --version aifabrix upgrade --help aifabrix login --controller https://controller.example.com/miso --environment dev aifabrix auth status ``` Replace the example with the installation's canonical Controller URL. Compare the plan's displayed Controller and environment with the approved change. 2. Discover without applying: ``` aifabrix upgrade --remote --check --refresh aifabrix upgrade --remote --check --environment dev --json ``` Review current → target, scope, environment, action and reason for every row. Resolve blocked or unavailable versions before approving. Retain the plan and previous images without credentials. 3. Apply the reviewed Development plan: ``` aifabrix upgrade --remote --environment dev ``` The confirmation names the Controller. The Controller supplies the application order: Keycloak, Miso Controller, Builder API, Integration Server, Dataplane. Mori is excluded. Missing or unselected applications are not silently added. The target is the newest release; there is no arbitrary target-version or downgrade option. 4. Follow each result. Normally the CLI waits up to 20 minutes for a deployment and 10 minutes for its version. Same-tag updates need the Controller to report up-to-date state. Failed or cancelled deployment stops later applications. When Miso restarts, keep the same target and inspect status before launching another run. An Integration Server self-upgrade can drop its operator connection; inspect server-side completion after reconnecting. 5. For Test/Production, inspect first and use the approved promotion deployment procedure: ``` aifabrix upgrade --remote --check --environment pro --json ``` Remote upgrade apply rejects these environments. Promote accepted artifacts through [application deployment](/docs/build-ai-ready-systems-operate-platform-follow-recover-deployments), with target-owned configuration and placement. Do not use environment provisioning as an image-promotion command. If your release/placement runbook is missing, provide the administrator the source and target environments, accepted image references and recovery prerequisites for approval. ## Defaults and examples | Option or result | Meaning | | --- | --- | | No scope option | Remote; choose explicitly for maintenance | | `--only dataplane` | Restricts selection; does not bypass prerequisites | | `--check --exit-code` | Exit 1 if updates exist; also inspect errors/blocked rows | | `--refresh` | Bypasses version cache; separate from login renewal | | `--yes` | Skips confirmation only after the actual change is authorized | | `none`, `skip`, `blocked` | Current, absent/not deployed, or unresolved prerequisite respectively | For remote Miso older than 2.1 with a missing order route, the legacy path upgrades Miso first and skips Dataplane until a new run. It requires known increasing release versions and a floating latest image; pinned/digest or changed live-version evidence blocks apply. Do not convert a pinned installation to latest merely to satisfy this path. Other missing-order failures stop unchanged. ## Validate Check actual deployment outcomes, running versions, health, sign-in and an authorized business smoke operation. Retain the run summary and local `~/.aifabrix/installation.log` securely. Read [verification and recovery](/docs/build-ai-ready-systems-operate-platform-verify-recover-platform-upgrades) before rerunning. Some applications newly require the Miso platform key. The CLI holds them until custody is complete or the supported legacy-unsplit state explicitly reports the platform key servable. It can finish Miso while leaving dependents blocked. Automatic login renewal can also stop a run; reauthenticate, inspect the submitted deployment, rediscover and only then continue. Do not rotate keys or repeat an unknown deployment to clear the error. ## Common mistakes | Observation | Action | | --- | --- | | A non-DEV apply is rejected | Use the approved Test/Production application-promotion process. | | Current or target version is unreadable | Repair discovery access; do not mark the row current. | | Controller upgraded but dependents blocked | Resolve key custody, inspect current state and rediscover remaining work. | ## Limits Source review establishes these instructions, not an executed Azure upgrade or released-channel certification. Obtain compatible installed tooling before apply. No transactional rollback or automatic database restore is provided. Test/Production promotion remains an approved customer workflow; an upgrade check does not authorize it. ## Related - [Platform sizing and environments](/architecture-platform-sizing-environments.md) - [Upgrade the Azure platform](/operate-platform-upgrade-azure-platform.md)