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

npm ERR! Unable to authenticate, need: Bearer authorization_uri=https://login.windows.net/*********, Basic realm="https://pkgsprodcus1.pkgs.visualstudio.com/", TFS-Federated Fixed

ERR_CONNECTION_RESET - when you run application from visual studio over https

Azure - Failed to deploy web package to App Service. Internal Server Error (CODE: 500)- Fixed