string[] scopes = new string[] { "https://graph.microsoft.com/.default" }; string clientId = ""; string tenantId = ""; string secret = ""; var options = new TokenCredentialOptions { AuthorityHost = AzureAuthorityHosts.AzurePublicCloud }; // https://learn.microsoft.com/dotnet/api/azure.identity.clientsecretcredential try { var clientSecretCredential = new ClientSecretCredential( ...
Anish's Notebook
I jot down whatever I learn from different sources.Written for personal use. But anyone can learn.