Multiple_Matching_Token_Detected: Add-AzureAccount in Powershell

When I try to run the "Add-AzureAccount" command in powershell, I find the error below: I am using the latest Azure powershell version 0.87

Add-AzureAccount: multiple_matching_tokens_detected: The cache contains multiple matching tokens. Calling AcquireToken again provides more requirements (e.g. UserId). On line: 1 char: 1

  • Add-AzureAccount
  • ~~~~~~~~~~~~~~~~
    • CategoryInfo: CloseError: (:) [Add-AzureAccount], AadAuthenticationFailedException
    • FullyQualifiedErrorId: Microsoft.WindowsAzure.Commands.Profile.AddAzureAccount
+3


source to share


2 answers


Go to C:\Users\<user>\AppData\Roaming\Windows Azure Powershell

and delete WindowsAzureProfile.xml

. It helped me.



+2


source


Try downloading the latest version. There was a problem with conflicts in the token store that has been fixed.



https://github.com/Azure/azure-sdk-tools/releases/tag/v0.8.8-September2014

0


source







All Articles