You might also be interested in this sample: https://github.com/azure-samples/ms-identity-aspnetcore-webapp-tutorial/
This newer sample takes advantage of the Microsoft identity platform (formerly Azure AD v2.0).
While still in public preview, every component is supported in production environments.
A sample application that enables users to connect to their Azure subscription, and grant access to the application for monitoring resources.
Coming soon...
Coming soon...
Coming soon...
Coming soon...