title: InvalidOperationException: No authenticationScheme was specified, and there was no DefaultChallengeScheme found in ASP.NET Core 2.0
body: <p>Im using ASP.net core 2 in an mvc web application. Im currently authorizing from an AD group on one Controller action, and it worked fine on the localhost so far. Now after publishing, instead of getting the log in window I get the following error:</p>
  
  <p>InvalidOperationException: No authenticationScheme was specified, and there was no DefaultChallengeScheme found.</p>
  
  <p>This is how I authorize the AD role. </p>
  
  <pre><code>[Authorize(Roles = "Domain Users")]
  </code></pre>
  
  <p>Do i need to add something to the startup.cs or am I missing something else?</p>