There is no light out here.

Dark mode is the only mode.

Granting App Permissions to a SharePoint Site via Graph API

The Task Grant an Azure AD app write access to a single SharePoint site - instead of every site in the tenant. Prerequisites Global Administrator role or Site Owner permissions on the target site An app registration with the Sites.Selected permission Checking Existing Permissions GET request: https://graph.microsoft.com/v1.0/sites/{site-id}/permissions Empty value: [] means no app-level permissions have been granted yet Granting Permissions POST request Body: 1 2 3 4 5 6 7 8 9 10 11 { "roles": ["write"], "grantedToIdentities": [ { "application": { "id": "APP_CLIENT_ID_HERE", "displayName": "Your App Name" } } ] } Request body: application ID + display name ...

July 29, 2026 · 1 min · 136 words · Przemek

How to Get SharePoint Item ID Using Microsoft Graph API

Introduction When working with Microsoft Graph API to automate SharePoint operations (like writing script outputs, saving reports, updating Excel files), we can’t just use file paths. We need to work with unique identifiers - specifically - the file ID. This guide walks you through the process of finding a SharePoint item ID by navigating the site hierarchy using Graph API Explorer. The Goal In this example, we’ll find the ID of an Excel file located deep within a SharePoint site structure: ...

February 8, 2026 · 3 min · 488 words · Przemek