How to fix incompatible versions between Az.Websites and Az.Accounts

Ernesto 41 Reputation points
2023-07-11T18:38:06.82+00:00

I receive this error

Az.Websites\3.0.1\Az.Websites.psm1 : This module requires Az.Accounts version 2.12.4. An earlier version of Az.Accounts is imported in the current PowerShell session. Please open a new session

before importing this module. This error could indicate that multiple incompatible versions of the Azure PowerShell cmdlets are installed on your system. Please see https://aka.ms/azps-version-error for troubleshooting information.

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,856 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,506 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful