Microsoft Graph

Microsoft Graph in Practice #7: Operations — Throttling, Pagination, Delta Queries, Change Notifications
6 min read

Microsoft Graph in Practice #7: Operations — Throttling, Pagination, Delta Queries, Change Notifications

Raising Graph automation to operational grade: retries that honor 429 and Retry-After, the pagination (@odata.nextLink) that silently truncates data when missed, delta queries replacing polling (deltaLink state management), change notification subscriptions (validation handshake, renewal, lifecycleNotificationUrl), and JSON batching — closing the series.

Microsoft Graph in Practice #6: Teams — Reading Messages, and the Three Routes for Sending Notifications
6 min read

Microsoft Graph in Practice #6: Teams — Reading Messages, and the Three Routes for Sending Notifications

Facing the most famous wall in Graph's Teams integration head-on: reading teams, channels, and messages; why application permissions can't post to channels (migration-only), and the three alternative routes — a delegated automation account, Workflows incoming webhooks, and bots — with selection criteria.

Microsoft Graph in Practice #5: Files in OneDrive and SharePoint — Upload Sessions and Sharing
5 min read

Microsoft Graph in Practice #5: Files in OneDrive and SharePoint — Upload Sessions and Sharing

Automating files with Graph: the shared drive/driveItem model, the path differences between personal OneDrive and SharePoint site drives, downloads and simple uploads up to 250MB, upload sessions for large files (320KiB-multiple chunks, resume), creating sharing links, and narrowing permissions with Sites.Selected.

Microsoft Graph in Practice #4: Automating Mail and Calendar — Reading, Sending, Creating Events
5 min read

Microsoft Graph in Practice #4: Automating Mail and Calendar — Reading, Sending, Creating Events

Automating Outlook mail and calendar with Graph: inbox queries with filters, report delivery via sendMail and the cautions around bulk sending, attachments, creating meetings with invitations, availability lookups with getSchedule, and the classic trap of time zones — all in working code.

Microsoft Graph in Practice #3: First Calls with the Python SDK — Reading Users and Org Data
5 min read

Microsoft Graph in Practice #3: First Calls with the Python SDK — Reading Users and Org Data

Building the Python skeleton for calling Graph: installing msgraph-sdk and azure-identity, implementing both device code (delegated) and client credentials (application) clients, the async pattern, expressing OData queries in the SDK, listing users and profiles, and token-level auth debugging.

Microsoft Graph in Practice #2: App Registration and Auth — Entra ID, Delegated vs. Application Permissions
6 min read

Microsoft Graph in Practice #2: App Registration and Auth — Entra ID, Delegated vs. Application Permissions

The whole structure of Graph authentication in working order: the Entra ID app registration procedure, the delegated/application distinction that shapes the entire series, admin consent, client secrets and certificates, least privilege, and secret management — the most important gateway in Graph.

Microsoft Graph in Practice #1: What Graph Is — One API for All of Microsoft 365
5 min read

Microsoft Graph in Practice #1: What Graph Is — One API for All of Microsoft 365

What Microsoft Graph is and why it's the key tool for workplace automation: the structure that opens mail, calendar, Teams, files, and the org directory through one endpoint, the v1.0/beta split, the big picture of the permission model, and making your first call with zero code in Graph Explorer.