error when I try to connect to graphclient "ClientSecretCredential authentication failed"

angelo 0 Reputation points
I'm trying to read a sharepoint list using the graph api and I get the following error message ""ClientSecretCredential authentication failed: Method 'GetHttpClient' in type 'Azure.Identity.HttpPipelineClientFactory' from assembly 'Azure.Identity, Version=1.10 .3.0, Culture=neutral, PublicKeyToken=92742159e12e44c8' does not have an implementation.""

I tried to update to version without success

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,188 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Akash Jadav 80 Reputation points Microsoft Vendor

    Can you share the Graph API request along with code snippet used for making this call?

    As per error it states that clientID and clientSecret authentication is not working. Please refer this documentation for using MS Graph with SharePoint.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments