A while back, I released the Graph.Community library to facilitate reading the SharePoint REST API (_api endpoints) using the coding paradigm used by the official Microsoft Graph SDK. The key benefits of that library:
- bring the discoverable, modern .Net Core experience for Microsoft Graph to other endpoints
- leverage SDK-provided functionality such as authorization, compression and retries
- provide a consistent coding style to the Microsoft cloud, regardless of the endpoint (Graph, SharePoint REST, etc.)
Since that library release, the Graph SDK underwent a major update to version 5.x. This included foundational changes making it in-compatible with the community library.
I'm please to announce version 5 of the Graph.Community library! This new version is now called the Graph.Community.SPClient.
The client is generated using the Kiota tool. (Kiota is the technology that drives the Microsoft-provided SDK for Microsoft Graph, as well as connecting agents to Copilot.) Kiota has always worked with any OpenAPI document, so adapting it to the legacy SharePoint API is possible.
While this initial release is not feature-complete, it is certainly usable.