Share via

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 Security | Microsoft Graph

1 answer

Sort by: Most helpful
  1. Akash Jadav 85 Reputation points Microsoft External Staff
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.