Setting up VS 2022 ASP.Net Core Web API with Authentication working

David Downing 21 Reputation points
2022-06-22T17:51:23.247+00:00

I have been trying to get my ASP.Net Core Web API working with an AAD app registration for authentication and I'm not able to authenticate using either the default Swagger page or Postman.

At this point, I'm just trying to get the WeatherForecast API working. Is there a full walk-through that explains setting up the App Registration and Creating the VS 2022 project that works?

I updated the Manifest and changed "allowPublicClient" to false.

My App Registration is as follows:

213899-image.png

213889-image.png

213958-image.png

The Postman error is:

213965-image.png

213986-image.png

Thank you

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,610 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 56,846 Reputation points
    2022-06-23T02:02:00.873+00:00
    1 person found this answer helpful.