locked
Connecting to Azure from Visual Studio 2013 RRS feed

  • Question

  • When trying to publish a website to azure or simply connecting to azure in server explorer, I receive the following error:

    "An error occured during the sign in process: multiple_matching_tokens_detected: The cache contains multiple tokens satisfying the requirements.  Call AquireToken again providing more requirements (e.g. UserId)"

    None of the suggestions in https://social.msdn.microsoft.com/Forums/azure/en-US/18b50afe-fd8b-4ff1-9c02-3a97b2599c8a/vnet-to-vnet-connection-issues?forum=WAVirtualMachinesVirtualNetwork have worked and I have no other symptoms.

    I am able to log into my azure portal.

    Thursday, July 9, 2015 8:16 PM

Answers

  • Hi,

    You might have your credentials in Azure cached, which might prevent you from connecting.
    You could go to C:\Users\<user>\AppData\Roaming\Windows Azure Powershell and delete WindowsAzureProfile.xml.

    Also, delete the TokenCache.dat file in that directory.

    Regards,
    Malar.

    Friday, July 10, 2015 7:56 AM