7 1 I have an ASP.NET Core 2.1 Web Application with Razor Pages which has AAD authentication information defined in the appsettings.json file (courtesy of the default application template - see below on how I got there). However, when trying to configure the authentication in Startup.cs the configuration does not have any of the config values from my appsettings.json . If I inspect the IConfiguration object in the debugger then it appears to only have the environment variable configurations: Here's the Startup.ConfigureServices method where the issue lies: public void ConfigureServices(IServiceCollection services) services.Configure<CookiePolicyOptions>(options => // This lambda determines whether user consent for non-essential cookies is needed for a given request. options.CheckConsentNeeded = context => true; options.MinimumSameSitePolicy = SameSiteMode.None; ); services.AddAuthentication(AzureADDefaults.AuthenticationScheme) .AddAzureAD(opti...