title: Getting 401 unauthorized error when trying authenticate user in SPO using MSAL
body: <p>Has anyone worked on Microsoft Authentication Library (MSAL V2.0)?
  MSAL Link: <a href="https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-browser" rel="nofollow noreferrer">https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-browser</a></p>
  <p>Scenario:
  Users are using Microsoft credentials to access all the applications using SSO. We are planning to create a custom component in salesforce for SharePoint which allows basic actions (view/ update/ delete). We are trying to implement a solution to authenticate into SPO using SSO login from Microsoft account in Salesforce. I am trying to authenticate SharePoint URL from Salesforce. I have set up a Microsoft Azure application. Using MSAL, I am able to get the access token for the current logged-in Microsoft user account in Salesforce. When I try to authenticate SharePoint URL with an access token, I am getting 401 unauthorized error.</p>
  <p>Does anyone have any idea about this? I am wondering if I need to do any application-specific changes in the Microsoft Azure application. Thanks.</p>