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

angelo 0 Reputation points
2023-11-21T11:43:56.73+00:00
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 1.10.4.0 without success


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

1 answer

Sort by: Most helpful
  1. Akash Jadav 85 Reputation points Microsoft Vendor
    2023-12-02T06:57:20.32+00:00

    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

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.