How to use UsernamePasswordCredential for Azure identity with an example

Mohannad Alahdab 1 Reputation point
2021-01-14T13:17:58.153+00:00

How to use UsernamePasswordCredential for Azure identity to acquire token which will be used to call MSGraph and sharepoint APIs in asp.net core?

I checked this URL:https://zcusa.951200.xyz/en-us/dotnet/api/azure.identity.usernamepasswordcredential.gettoken?view=azure-dotnet
but I am still looking for more details with example!

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.