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.

Fixed: The required column was not present in the results of a 'FromSql' operation in asp.net core EF core

Severity Code Description Project File Line Suppression State Error Unable to resolve dependencies. 'Xamarin.Android.Support.Design 24.2.1' is not compatible with 'Xamarin.Forms 2.3.3.180 constraint: Xamarin.Android.Support.Design (= 23.3.0)'. 0