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

Developer technologies ASP.NET ASP.NET Core
Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.