This client library has been deprecated in favor of the TokenCredential classes provided in the Azure.Identity namespace. You can use the new TokenCredential class with Microsoft.Graph v4.x and greater.
We suggest that you start with the v4 upgrade guide to learn more about these changes.