Azure Automation : Az commands not recognized anymore using powershell 7.2

Yann Bernard 0 Reputation points
2024-05-02T07:02:36.06+00:00

Hello,

Since May 1, all my runbooks stopped working with all Az commands not recognized anymore.

It was working perfectly for many months.

All my runbooks are using powershell 7.2

Please help

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,630 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. guilherme rodrigues 240 Reputation points
    2024-05-02T13:31:10.4+00:00

    Hello, Yann!

    I've gone through a similar issue, and in my case, it was resolved after I updated the PowerShell modules in the automation account. In the left menu under "modules", select the option to update the az Modules.

    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.