I just put together a .Net Core App via the documentation that authenticates with an Azure Active Directory.
https://docs.microsoft.com/en-us/aspnet/core/security/aut