How to create a sharepoint current user context using

Anmol Chourasia 0 Reputation points
2024-11-29T08:08:23.1666667+00:00

User's image

I am trying to create the current user's SharePoint context using the following details:

  • Client ID
  • Tenant ID
  • Certificate

I am using UseOpenIdConnectAuthentication and ClaimsPrincipal for this process. Specifically, I want to understand if it's possible to use these components to create the current user's SharePoint context.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,963 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,443 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,532 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,917 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,095 questions
0 comments No comments
{count} votes

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.