title: Azure Storage Authentication failing - Audience validation failed. Audience did not match. [AZURE][OAuth]
body: <p>I am trying to make a REST call to Azure Storage using the following code.
  <a href="https://i.stack.imgur.com/Ivvuh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ivvuh.png" alt="enter image description here" /></a></p>
  <p>But It shows following error:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;Error&gt;
     &lt;Code&gt;AuthenticationFailed&lt;/Code&gt;
     &lt;Message&gt;Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\n' +
          'RequestId:11c07be7-301e-0003-556f-42091d000000\n' +
          'Time:2021-05-06T11:59:40.1049759Z&lt;/Message&gt;
     &lt;AuthenticationErrorDetail&gt;Audience validation failed. Audience did not match.&lt;/AuthenticationErrorDetail&gt;
  &lt;/Error&gt;
  </code></pre>
  <p>I have already assigned roles:
  <a href="https://i.stack.imgur.com/7jx6i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7jx6i.png" alt="enter image description here" /></a></p>
  <p>And have API permissions set:
  <a href="https://i.stack.imgur.com/biY6X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/biY6X.png" alt="enter image description here" /></a></p>
  <p>But still this error. Can anyone help?</p>