Fixed: Unable to get MSI token from local Visual Studio

There are many scenarios where you need to use Managed Identity Services for authentication. You setup all the things correctly but in local setup you may encounter this below error.

Error - "Unable to get MSI token from local Visual Studio"

Solution - To fix this use below steps.

  1. Go to Visual Studio Tools
  2. Go to Options
  3. Go to Azure Service Authentication.

Now Make sure, your account is there or not. if its there try to add same account again so it will override your credentials if these has expired or changed.


It will solve your error.

Thanks

Comments

Popular posts from this blog

Swagger for Azure functions: Undocumented TypeError: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body. Fixed.

System.Net.Http.HttpClient' does not contain a definition for 'PostAsJsonAsync

A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance