title: integrate azure AD authentication with asp.net core identity individual accounts
body: <p>The scenerio I am trying to tackle is as below.</p>
  
  <p>1) Users can authenticate against my local database using the standard method - Works fine</p>
  
  <p>2) Users can authenticate against social media platforms - Works fine</p>
  
  <p>3) Now, I want certain users who have Azure AD accounts to be able to have a local account BUT get authenticated with their Azure AD. There are solutions for (1) &amp; (2). But I couldn't found a solution that has support for all three. The closest is <a href="https://github.com/Azure-Samples/active-directory-dotnet-webapp-multitenant-openidconnect" rel="noreferrer">multi-tenant SaaS auth</a></p>
  
  <p>For those users who should get authenticated with AD will be pre-configured in the system. (I will have their TenantID, ClientID etc... in my local DB). So, based on their user name If I can redirect to the relevant login page I should be able to support different ADs.</p>
  
  <p>I am not sure how to wire it up properly (Or whether this approach is wrong/doable).</p>