Error creating an Asp.Net MVC project with Microsoft Identity

moondaddy 911 Reputation points
2022-01-13T17:28:43.613+00:00

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).

164810-image.png

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.

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
617 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,281 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,292 questions
{count} votes