Error creating an Asp.Net MVC project with Microsoft Identity
Using VS 2022, I created a sample Asp.Net MVC project with Microsoft Identity (.net 4.8) and toward the end of the setup it wanted to configure the Microsoft identity platform. This step fails with the following error message below:
Errordotnet tool install microsoft.dotnet-msidentity --version 1.0.0
The tool package could not be restored.
Tool 'microsoft.dotnet-msidentity' failed to install. This failure may have been caused by:
* You are attempting to install a preview release and did not use the --version option to specify the version.
* A package by this name was found, but it was not a .NET tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool.
For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool
This error occurs during executing the step below (configuring the Microsoft identity platform).
I’ve googled this finding no solution and all I’m doing is just using the Visual Studio create project template.
Any idea how to get past this error?
Thank you.