title: Service Principal az cli login failing - NO subscriptions found
body: <p>Trying to perform an <code>az cli</code> login using a Service Principal and it is throwing an error stating <code>No subscriptions found for &lt;Service_Principal_AppId&gt;. If this is expected, use '--allow-no-subscriptions'</code>. This code has worked fine previously but now it does not appear to work any longer. Command line being used is below:</p>
  
  <pre><code>$sp_appid = (Get-AzureRmADServicePrincipal -DisplayName $spDisplayName).ApplicationId.Guid
  $sp_secret = (Get-AzureKeyVaultSecret -VaultName $kvName -Name $appKeySecretName).SecretValueText
  az login --service-principal --username $sp_appid --password $sp_secret --tenant $tenant_Id
  </code></pre>
  
  <p>I verified that the Service Principal is assigned the <code>Contributor</code> role at the subscription level.</p>