I tried to follow this tutorial: https://www.bruttin.com/2017/11/21/azure-api-postman.html
What am I doing wrong? I'm using the default template of .net core web api 2.2 in visual studio 2019 and I want to use Azure AD to authenticate. To test the authentication I am using Postman, but I can't get it to work. The photos below show the steps in order in that I am trying.
AuthURL = "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/authorize" TokenURL = "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token"
- Create Project
 
- Choose API
 
- Enter Domain and check "Read Directory Data"
 
- appsettings.js is generated
 
- Default StartUp.cs File
 
- Values Controller user the Authorize Attribute
 
- Generate a Secret in Azure Portal
 
- Fill out token request form in PostMan - Successfully get token.
 
- Attempt to use the token and access is denied.
 
What am I doing wrong!!!!!