Status
This is a confirmed defect, fixed. In affected versions, you can't enable a deployment target that is excluded from the license count (such as Kubernetes agent or Kubernetes API target) once the instance has reached its licensed machine limit. The workaround is to temporarily disable a target that counts toward the limit, enable the excluded target, then re-enable the original one. Fixed in 2026.2.13680, 2026.3.16105, and all 2027.0 and later releases.
Affected versions
Confirmed on 2026.3.15878 and reproducible in the latest build at the time the issue was raised. Affects the 2026.2 and 2026.3 streams. Fixed in 2026.2.13680 (the 2026.2 stream), 2026.3.16105 (the 2026.3 stream), and in all releases from 2027.0 onward.
Symptom
When an Octopus instance has reached its licensed machine limit, you can't enable a disabled deployment target that is excluded from the license count, such as a Kubernetes agent or Kubernetes API target. Even though enabling the target wouldn't increase the license count, Octopus blocks the action and shows the following error:
You cannot enable this target. This would exceed the limits of your current license. Please contact sales@octopus.com to upgrade your license.
Why it happens
This is a confirmed product defect, not a configuration mistake. When you enable a target, Octopus checks the license machine limit without first checking whether that target type counts toward the limit. As a result, targets that are excluded from the license count are blocked the same way as counted targets once the limit is reached. It is tracked in Excluded targets can't be enabled once the machine limit is reached (GitHub issue #10375) and was resolved by allowing targets that don't count toward the license limit to be enabled regardless of the current machine count.
Workaround
Temporarily free up a slot on your license by disabling a target that counts toward the machine limit, then enable the excluded target and re-enable the original one. Before disabling it, make sure the counted target isn't in use by a running deployment or runbook, and re-enable it straight away so it misses as little work as possible.
Fix
Upgrade to 2026.2.13680 or later on the 2026.2 stream, 2026.3.16105 or later on the 2026.3 stream, or to any 2027.0 or later release. After upgrading, you can enable targets that are excluded from the license count even when your instance has reached its licensed machine limit, so the workaround is no longer needed.
Tracking
Excluded targets can't be enabled once the machine limit is reached (GitHub issue #10375)