title: Login-AzureRMAccount returns "Unknown User Type"
body: <p>As the title implies, I'm trying to automate the login process to AzureRMAccount in Powershell.</p>
  
  <p>I've scoured every forum on every website I can find trying every different combination of solutions (well, except for the solution that works).</p>
  
  <p>Every time I try to automate the login process of my Azure account, I get an error :</p>
  
  <blockquote>
    <p>Unknown User Type</p>
  </blockquote>
  
  <p>Yes, I have full access to this account, and Yes it does work fine if I omit all of the parameters and allow for the interactive username/password dialog.</p>
  
  <p>I have even tried to simply call the <code>Get-Credentials</code> and push those into a variable and then call <code>Login-AzureRMAccount</code> using those creds....no luck.</p>
  
  <p><code>Add-AzureRMAccount</code> fails too.</p>
  
  <p>Any help would be appreciated.</p>
  
  <p><a href="https://i.stack.imgur.com/08t3Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/08t3Z.png" alt="enter image description here"></a></p>