I have a .NET Core 2 app template that is configured to use Azure AD out of the box.
The configuration is:
{
\"AzureAd\": {
\"Instance\": \"https:
You can refer to this Sample to rebuild your .NET core App and publish to the Azure.
There are some NOTES you need to pay attention to :
you need to change the port from 5000 to the effective one. Currently, it should be 61659. So, when you do a test in your localhost, you can set the reply URL in the AAD App with http://localhost:61659/signin-oidc
Update these URLs if you configure the app for production use or If you publish the App to Azure Web App, you should change the Reply URL in both App config file and AAD Application to be
For example, https://www.contoso.com/signin-oidc
or https://Myapp.azurewebsites.net/signout-oidc
.