title: Visual Studio Configure Azure AD Authentication says Windows Authentication is configured when it isn't
body: <p>I want to configured Azure AD Authentication on an existing MVC website.
  So I right-click the website in Visual Studio, and select "Configure Azure AD Authentication".</p>
  
  <p>The wizard then says: "An incompatible authentication configuration was found in this project (Windows Authentication). The wizard cannot be used to configure authentication."</p>
  
  <p>It even links me to <a href="https://azure.microsoft.com/en-us/documentation/articles/vs-active-directory-error/" rel="nofollow">the documentation page</a> explaining the error. So I removed <code>&lt;authentication mode="Windows" /&gt;</code> from web.config and re-built the application. But the wizards keeps showing this message.</p>
  
  <p>What needs to change so the wizard will proceed?</p>