title: Cannot add a key to Azure Key Vault in PowerShell - 'Unauthorized'
body: <p>Okay so I am following the tutorial here: <a href="https://docs.microsoft.com/en-us/azure/key-vault/key-vault-get-started" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/key-vault/key-vault-get-started</a>.  I am fine till the section <strong>Add a key or secret to the key vault</strong></p>
  
  <p>Basically it asks you to do this to a valid key vault:</p>
  
  <pre><code>$key = Add-AzureKeyVaultKey -VaultName 'DjangoKeyVault' -Name 'DjangoKey' -Destination 'Software'
  </code></pre>
  
  <p>It returns </p>
  
  <pre><code>Add-AzureKeyVaultKey : Operation returned an invalid status code 'Unauthorized'
  </code></pre>
  
  <p>I have tried this using Power Shell Command locally and logging into my Azure Account remotely.  I can verify the subscription and that the vault exists.  I can also use the 'PowerShellPreview' in Azure directly and get the same deal.  How in the world can I be the admin of the Azure site, logged in with elevated permissions, and not have authorization?  Do I need to set up Azure AD?</p>