Skip to content

Microsoft SharePoint (Files & Sites)

Microsoft Graph provides multiple endpoints to work with SharePoint sites, document libraries (drives), and files.

  • This section focuses on operations like navigating a site, listing folders/files, and reading/writing Office documents.
  • Use it as an entry point to understand which content to read depending on what you’re trying to do.

Before running the operations described in the pages below, make sure you have:


Setting Microsoft Graph permission scopes and retrieving the SharePoint Site ID

Prerequisites (permissions/scopes) and the quickest method to retrieve a Site ID.

Navigation and file operations on SharePoint

Navigate from Site to Drive (document library), traverse folders, and perform common file operations (list, download, upload, delete).

Reading & writing Excel files (Microsoft Graph)

Work with Excel workbooks via Microsoft Graph (read ranges/tables, update cells, and write data back to files stored in SharePoint).