While trying to access Azure resources using UsernamePasswordCredential credential we were getting the below error https://docs.microsoft.com/en-us/dotnet/api/azure.identity.usernamepasswordcredential?view=azure-dotnet Azure.Identity.AuthenticationFailedException: ‘UsernamePasswordCredential authentication failed: A configuration issue is preventing authentication – check the error message…
Continue Reading Nishant Rana’s Article on their blog
Fixed – AADSTS7000218: The request body must contain the following parameter: ‘client_assertion’ or ‘client_secret
While trying to access Azure resources using UsernamePasswordCredential credential we were getting the below error https://docs.microsoft.com/en-us/dotnet/api/azure.identity.usernamepasswordcredential?view=azure-dotnet Azure.Identity.AuthenticationFailedException: ‘UsernamePasswordCredential authentication failed: A configuration issue is preventing authentication – check the error message from the server for details.You can modify the configuration in the application registration portal. See https://aka.ms/msal-net-invalid-client for details.
Blog Syndicated with Nishant Rana’s Permission