8,330 questions
Have you installed the PowerShellGet module? If so, are you running the most recent version?
If you haven't, try this: Install-Module -Name PowerShellGet -Repository PSGallery -Force
and then try installing the AZ module.