Cloud Shell, Powershell is not working

kebedes 0 Reputation points
2023-03-03T20:21:10.4366667+00:00

I tried to force unistall the version 2.11.2. close and open. tried some more options. The powershell is not able to connect to the terminal successfully. I attached the error message.

some of the error messages:

This module requires Az.Accounts version 2.11.2. 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

Community Center Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 123.4K Reputation points MVP Volunteer Moderator
    2023-03-04T08:25:28.9333333+00:00

    Hi @kebedes ,

    to get the latest version of Az.Accounts (2.11.2) you should update to the latest version of Az module (9.4.0).

    This can be done via update-Module Az .

    After the Az module is updated you have to import the Az module again with Import-Module Az -Force.

    You can verify the version of the Az module and Az.Account with Get-InstalledModule -Name Az*.

    The result should look like this:

    User's image


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    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.