General Release of PowerShell version 7.2 Automation Runbooks

Kenneth Huddleston 145 Reputation points
2023-07-19T20:45:13.46+00:00

Is there an ETA on the General Release of PowerShell version 7.2 Runbooks for Azure Automation? Last update I have seen from MS regarding the status of these runbooks was back in February...

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,226 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Tech-Hyd-1989 5,781 Reputation points
    2023-07-20T07:09:58.51+00:00

    Hello Kenneth Huddleston
    Microsoft hasn't announced the ETA for general release of PowerShell runtime version 7.2 support for Automation Runbooks.

    More Details:

    Currently, PowerShell 7.2 (preview) runtime version is supported for both Cloud and Hybrid jobs in all Public regions except Australia Central2, Korea South, Sweden South, Jio India Central, Brazil Southeast, Central India, West India, UAE Central, and Gov clouds.

    Adding some limitations and Known issues:

    • Currently, PowerShell 7.2 (preview) runbooks are only supported from Azure portal. Rest API and PowerShell aren't supported.
    • Az module 8.3.0 is installed by default and can't be managed at the automation account level. Use custom modules to override the Az module to the desired version.
    • PowerShell 7.2 module management is not supported through Get-AzAutomationModule cmdlets.
    • Azure runbook doesn't support Start-Job with -credential.
    • PSCredential runbook parameter type isn't supported in PowerShell 7 runtime version.
    • PowerShell 7.x doesn't support workflows. For more information, see PowerShell workflow for more details.
    • PowerShell 7.x currently doesn't support signed runbooks.

    Source: https://learn.microsoft.com/en-us/azure/automation/automation-runbook-types?tabs=lps51%2Cpy27

    -Please accept answer and upvote if the above information is helpful for the benefit of the community.

    1 person found this answer helpful.
    0 comments No comments

  2. tbgangav-MSFT 10,426 Reputation points
    2023-07-24T04:31:48.31+00:00

    Hi @Kenneth Huddleston ,

    Currently we are targeting 9/30 for GA (General Availability) of PowerShell version 7.2 Runbooks for Azure Automation. Will share updates to this thread if there are any changes in the plan.

    0 comments No comments

Your answer

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