title: Operation returned an invalid status code 'Unauthorized'
body: <p>I am trying to access an azure resource(QNA) using keys which I have copied from the azure portal:</p>
  
  <pre><code>           // &lt;Authorization&gt;
                var subscriptionKey = Environment.GetEnvironmentVariable("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx");
          var client = new QnAMakerClient(new ApiKeyServiceClientCredentials(subscriptionKey)) { Endpoint = "https://westus.api.cognitive.microsoft.com/" };
          // &lt;/Authorization&gt;
  
          // &lt;EndpointKey&gt;
          var endpointhostName = Environment.GetEnvironmentVariable("iakpmgpoc.azurewebsites.net");
          var endpointKey = Environment.GetEnvironmentVariable("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx");
  </code></pre>
  
  <p>still getting "unauthorized access" issue</p>