I'd recommend downloading PowerShell version 7.1.0 Preview or newer and installing the AZ Modules to best work with Azure. https://github.com/PowerShell/PowerShell To ...
The readme file for windows 2022 states that the Powershell module Az is installed, version 12.5.0 This is not correct. To start with, the latest version of the Powershell module Az is currently 9.1.0 ...