title: How to get Tags of Azure ResourceManagementClient object
body: <p>I' m trying to get tag list of the resource groups with ResourceManagementClient class.</p>
  
  <p><em>'Microsoft.Azure.Management.Resources 2.14.1-preview'</em> is added from <em>Package Manager Console</em></p>
  
  <pre><code>ResourceManagementClient resourceClient = new ResourceManagementClient(new Microsoft.Azure.CertificateCloudCredentials(SubscriptionId, cert));
  
  var tags = resourceClient.Tags.List();
  </code></pre>
  
  <p>I get this error;
  <strong>AuthenticationFailed: Authentication failed. The 'Authorization' header is not present or provided in an invalid format.</strong></p>
  
  <p>At another sample, the part is working below;</p>
  
  <pre><code>StorageManagementClient storageClient = new StorageManagementClient(new Microsoft.WindowsAzure.CertificateCloudCredentials(SubscriptionId, cert));
  </code></pre>
  
  <p>There is a difference between these code parts. <strong>Microsoft.Azure</strong> is used for first sample and <strong>Microsoft.WindowsAzure</strong> is used for second and the second sample is working.</p>
  
  <p>How can I fix the problem at first sample, can you explain the problem?</p>