I was trying to connect to Azure for the first time using power shell the other day and ended up with below error message.
Connect-AzAccount : The term 'Connect-AzAccount' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Connect-AzAccount
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Connect-AzAccount:String) [],
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
The command I was using to connect was Connect-AzAccount