Last Call

AI on duty

Get the digest

Runtime

Microsoft

Azure Automation ends support for the Python 2.7, Python 3.8, PowerShell 7.1, and PowerShell 7.2 runbook runtime versions

Final call
12days00hrs00min

departs 30 Sept 2026

Official source Retirement: Support for Python 2.7, 3.8 and PowerShell 7.1, 7.2 will be retired on September 30, 2026 — Azure Updates (id 567556) ↗ (azure.microsoft.com)

Quick answers

Is it true that Azure Automation retires Python 2.7, Python 3.8, and PowerShell 7.1/7.2 runbook runtimes?
Yes. Microsoft has officially announced it, effective 30 Sept 2026. If you run Azure Automation runbooks on the Python 2.7, Python 3.8, PowerShell 7.1, or PowerShell 7.2 runtime, those versions lose support on 30 September 2026.
When does it take effect?
30 Sept 2026. Verified against the vendor's own announcement.
What should I use instead?
Before 30 September 2026, re-target affected runbooks to a supported Python or PowerShell runtime version in Azure Automation.

What this means for you

If you run Azure Automation runbooks on the Python 2.7, Python 3.8, PowerShell 7.1, or PowerShell 7.2 runtime, those versions lose support on 30 September 2026. Microsoft says the runbooks may keep running after that date, but they will no longer receive security updates, bug fixes, or official support — so anything left on these runtimes becomes an unpatched, unsupported liability in your automation estate. This is a forced runtime upgrade rather than a hard shutoff: nothing is deleted on the day, but staying put means running security-critical automation on runtimes Microsoft no longer maintains.

Where to go

Before 30 September 2026, re-target affected runbooks to a supported Python or PowerShell runtime version in Azure Automation. Microsoft points to its PowerShell support lifecycle and Python version support guidance to choose a supported target, then recommends testing each runbook on the newer runtime before cutting over. Because the old runtimes keep executing for now, you can migrate and validate runbook-by-runbook rather than in a single big-bang cutover.

  • Supported Azure Automation runbook runtimes — newer Python and PowerShell versions still receiving updates (per Microsoft's support-lifecycle guidance)

Microsoft is retiring four ageing runbook runtimes in Azure Automation. In an Azure Updates retirement notice, Microsoft says that from 1 October 2026 — i.e. after a 30 September 2026 retirement — Python 2.7, Python 3.8, PowerShell 7.1, and PowerShell 7.2 will no longer be supported by Azure Automation.

This is a support cut-off, not an immediate shutoff. Microsoft is explicit that “runbooks using these versions may continue to run,” but they “will not receive security updates, bug fixes, or official support” after the date. In practice that turns any runbook left on these runtimes into unmaintained code executing inside your Azure tenant.

Who this affects

Anyone whose Azure Automation runbooks are pinned to Python 2.7, Python 3.8, PowerShell 7.1, or PowerShell 7.2. These are exactly the runtimes teams tend to forget about: an operational runbook written a few years ago, still firing on a schedule, doing real work — patching, provisioning, cleanup, alerting — on a runtime nobody has looked at since. Those are the ones that quietly fall out of support on 30 September 2026.

What to do

Microsoft’s recommended action is to upgrade affected runbooks to supported runtime versions of Python and PowerShell before the retirement date. Its notice links two references for picking a supported target — the PowerShell support lifecycle and Python version support status — and frames the upgrade as required “to maintain support eligibility and ensure continued access to security updates and platform features.”

A practical path:

  1. Inventory your Automation accounts for runbooks whose runtime is Python 2.7 / 3.8 or PowerShell 7.1 / 7.2.
  2. Re-target each to a supported runtime version and fix any version-specific breakage (PowerShell 7.2 → a newer 7.x, and the long-dead Python 2.7 in particular may need real code changes).
  3. Test the runbook on the new runtime, then cut it over — the old runtimes keep executing until the date, so you can migrate and validate one runbook at a time rather than all at once.

Entry changelog

  • — last reviewed.
  • — Entry created from Microsoft's official Azure Updates retirement notice (id 567556, published 10 July 2026), verified against the Microsoft release-communications API backing that page. Affected product (Azure Automation), the four runtime versions, the 30 September 2026 retirement date, and the "keep running but no security updates/bug fixes/support" wording all taken directly from Microsoft.

Related on the calendar

Put this countdown in your README

Building on Microsoft? Drop this badge into a project’s README or docs — it shows the days left and refreshes on its own every night from this page. Last Call countdown for Azure Automation ends support for the Python 2.7, Python 3.8, PowerShell 7.1, and PowerShell 7.2 runbook runtime versions

[![Last Call countdown](https://lastcall.dev/badge/azure-automation-python-powershell-runtime-retirement.svg)](https://lastcall.dev/entries/azure-automation-python-powershell-runtime-retirement)

Spot an error or a changed date? Tell us and it’s corrected the same night.