title: Microsoft.Azure.KeyVault.KeyVaultClientException :Service Error information was not available
body: <pre><code>Unhandled Exception: Microsoft.Azure.KeyVault.KeyVaultClientException: Service Error information was not available
     at Microsoft.Azure.KeyVault.KeyVaultClient.&lt;Do&gt;d__11b`1.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.Azure.KeyVault.KeyVaultClient.&lt;GetSecretAsync&gt;d__cb.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
     at CertificateEncryptValueTask.CertificateEncryptValueTask.Main(String[] args) in C:\dev\sinnovations-vsts-tasks\src\CertificateEncryptValueTask\CertificateEncryptValueTask.cs:line 92
  Press any key to continue . . .
  </code></pre>
  
  <p>is thrown when trying to retrieve a secret from Azure Keyvault when using <code>https://vault.azure.net/</code></p>
  
  <pre><code>  var valueToken = options.ConnectedServiceName.GetToken("https://vault.azure.net/");
  </code></pre>