We cannot use the SDK for all the calls, like when using Batching and intermixing beta and prod (1.0) endpoints.
In these cases we sometime needs to make a direct REST Api call using a HttpClient. This forces us to fall back on MSAL for an access token and re-Authenticate the user again.
Please consider providing a property, or better a method (preferred as I think the call to AAD is delayed till the actual SDK method is called) that will contain the current AccessToken pulled from the token Cache
We cannot use the SDK for all the calls, like when using Batching and intermixing beta and prod (1.0) endpoints. In these cases we sometime needs to make a direct REST Api call using a HttpClient. This forces us to fall back on MSAL for an access token and re-Authenticate the user again.
Please consider providing a property, or better a method (preferred as I think the call to AAD is delayed till the actual SDK method is called) that will contain the current AccessToken pulled from the token Cache