title: ADAL and MSAL confusion
body: <p><strong>My References</strong></p>
  <p>According to this,</p>
  <blockquote>
  <p>Starting June 30th, 2020 we will no longer add any new features to
  Azure Active Directory Authentication Library (ADAL) and Azure AD
  Graph. We will continue to provide technical support and security
  updates but we will no longer provide feature updates. Applications
  will need to be upgraded to Microsoft Authentication Library (MSAL)
  and Microsoft Graph.  Learn more</p>
  </blockquote>
  <p>And this,</p>
  <blockquote>
  <p>Starting June 30th, 2022, we will end support for ADAL and Azure AD
  Graph and will no longer provide technical support or security
  updates. Apps using Azure AD Graph after this time will no longer
  receive responses from the Azure AD Graph endpoint. Apps using ADAL on
  existing OS versions will continue to work after this time but will
  not get any technical support or security updates.</p>
  </blockquote>
  <p>and <a href="https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-net-migration#differences-between-adal-and-msal-apps" rel="nofollow noreferrer">this link</a>,</p>
  <pre><code>using Microsoft.IdentityModel.Clients.ActiveDirectory; // ADAL
  using Microsoft.Identity.Client; // MSAL
  </code></pre>
  <p>ADAL should be replaced by MSAL. However, my project does not reference either of the above libraries.</p>
  <p>These are the references I have in my project.</p>
  <pre><code>Microsoft.IdentityModel.JsonWebTokens
  Microsoft.IdentityModel.Protocols.OpenIdConnect
  Microsoft.IdentityModel.Tokens
  Microsoft.Owin
  Microsoft.Owin.Security
  Microsoft.Owin.Security.Cookies
  Microsoft.Owin.Security.OpenIdConnect
  Owin
  </code></pre>
  <p><strong>Questions</strong></p>
  <p>The more I read about this topic the more I get confused because one minute I'm under the impression that ADAL is only authorization and not authentication and the next minute I see it referred to as ADAL Authentication. I just want to know if I need to update my authentication code for it to continue working.</p>
  <ul>
  <li>Since my project does not reference <code>Microsoft.IdentityModel.Clients.ActiveDirectory</code> and only uses Azure AD for authentication and not authorization, does this mean this change will not affect me?</li>
  <li>ADAL and MSAL are only for authorization and not authentication correct? If this is the case, why do they reference MSAL and Microsoft Graph, what is the difference?</li>
  </ul>