When I try to run "Add-AzureAccount" command in the powershell, I encountered the error below: I am using the latest Azure powershell version 0.87
Add-AzureAccount : multiple_matching_tokens_detected: The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements (e.g. UserId) At line:1 char:1
- Add-AzureAccount
- ~~~~~~~~~~~~~~~~
- CategoryInfo : CloseError: (:) [Add-AzureAccount], AadAuthenticationFailedException
- FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.AddAzureAccount
Go to C:\Users\<user>\AppData\Roaming\Windows Azure Powershell and delete WindowsAzureProfile.xml. That helped me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With