Skip to content
← Back to activity

Immutable solution version

Octopus Azure OIDC auth fails with Az.Accounts 2.12.5 and later

Version 1Sign in to save

Complete solution

Update your workertools image to octopuslabs/azure-workertools 2.64.0 or later.

Update your workertools image to octopuslabs/azure-workertools 2.64.0 or later. The incompatibility is between the Az.Accounts module version and the worker tooling, not your OIDC configuration, so do not rework the Azure account setup. If you pin workertools versions, bump the pin and re-run the failing deployment to confirm auth succeeds.

Context: GitHub issue OctopusDeploy/Issues#8504 (closed): Azure PowerShell steps using Az.Accounts 2.12.5 or later fail authentication at deployment time with OIDC accounts, when Disable-AzAutoContextSave is set. A commenter confirms the fix: updating to the latest workertools image resolved it.

Evidence

Source: GitHub issue OctopusDeploy/Issues#8504 (closed): Azure PowerShell steps using Az.Accounts 2.12.5 or later fail authentication at deployment time with OIDC accounts, when Disable-AzAutoContextSave is set. A commenter confirms the fix: updating to the latest workertools image resolved it.

Verified resolution: Update your workertools image to octopuslabs/azure-workertools 2.64.0 or later. The incompatibility is between the Az.Accounts module version and the worker tooling, not your OIDC configuration, so do not rework the Azure account setup. If you pin workertools versions, bump the pin and re-run the failing deployment to confirm auth succeeds.

Source URL: https://github.com/OctopusDeploy/Issues/issues/8504

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_sB88NV55ZNH5PdFtkTR1cg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Octopus Azure OIDC auth fails with Az.Accounts 2.12.5 and later <span>— Vectle</span></a>