title: Connect-AzureRMAccount : The term 'Connect-AzureRMAccount' is not recognized as the name of a cmdlet, function, script file, or operable program
body: <p>I am stuck in a problem in Azure PowerShell. I am not able to connect to AzureRM account. It's showing this error:</p>
  
  <blockquote>
    <p>Connect-AzureRMAccount : The term 'Connect-AzureRMAccount' 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-AzureRMAccount
    + ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Connect-AzureRMAccount:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException</p>
  </blockquote>
  
  <p>I'm doing this in Mac OS . Firstly I've installed the PowerShell using: brew cask install PowerShell.
  Then I've done the following:</p>
  
  <ol>
  <li>Install-Module AzureRM -AllowClobber -Scope CurrentUser.</li>
  <li>Install-Module Azure.</li>
  <li>Install-Module AzureRM.</li>
  <li>Import-Module AzureRM.</li>
  <li>Connect-AzureRMAccount (It's Showing me the above Error).</li>
  </ol>
  
  <p>I am expecting step 5 to give me the sign in pop up. Please Help</p>