Open API, Automation & Calendars
Customer API & webhooksMicrosoft 365 (Outlook, SharePoint & OneDrive) & Tenant Office
Institutional and enterprise property managers standardize overwhelmingly on Microsoft 365. Tenant Office pairs GET /api/v1/customer/listings, POST /api/integrations/cloud-archive/manifest, and our shipped Microsoft 365 parity blueprint so teams keep Outlook Calendar availability schedules and SharePoint/OneDrive monthly document folders synchronized without granting broad tenant-wide admin write scopes.
- Estimated setup time
- 25–35 minutes
- Required role
- IT administrator or enterprise operations lead
- Connection method
- Customer API & webhooks
Setup path: Connect Microsoft Graph OAuth2 in your n8n workspace using n8n-microsoft-365-outlook-sharepoint-sync.json alongside Tenant Office Customer API v1.1.
What connects
What flows between Microsoft 365 (Outlook, SharePoint & OneDrive) and Tenant Office.
- All-day Outlook Calendar vacancy and availability events built from GET /api/v1/customer/listings
- Deterministic property/month folder structures and SHA-256 verification manifests for SharePoint and OneDrive
- Explicit Microsoft Entra ID security-group-to-role mapping tables validated before onboarding
- RFC 5545 .ics calendar feeds compatible with Outlook desktop and Microsoft 365 web calendars
Before you start
Prerequisites for setting up Microsoft 365 (Outlook, SharePoint & OneDrive).
Confirm these items before starting so your setup completes cleanly in 25–35 minutes.
- A Microsoft 365 tenant with Outlook Calendar and SharePoint/OneDrive document libraries provisioned.
- An administrator-issued Tenant Office Customer API v1.1 bearer credential.
- An n8n workspace with Microsoft Graph OAuth2 credentials ready to import n8n-microsoft-365-outlook-sharepoint-sync.json.
Step-by-step tutorial
4 steps to set up Microsoft 365 (Outlook, SharePoint & OneDrive).
Follow these steps as an it administrator or enterprise operations lead to configure and test your Microsoft 365 (Outlook, SharePoint & OneDrive) workflow.
Import the Microsoft 365 blueprint in n8n
Import integrations/templates/n8n-microsoft-365-outlook-sharepoint-sync.json, which ships inactive with explicit Microsoft Graph scopes.
Bind Tenant Office bearer auth and Microsoft Graph OAuth2
Configure your property-scoped Customer API header credential and authorize Microsoft Graph Calendar/Files permissions inside your n8n instance.
Select your target SharePoint document library or OneDrive folder
Configure the destination drive path so monthly executed leases, owner statements, and close packets land in deterministic property/YYYY-MM folders.
Run a test execution and check SHA-256 archive parity
Execute one manual pass to verify Outlook Calendar events and SharePoint folder manifests match Tenant Office before activating the daily schedule.
End-to-end example workflow
How property teams run Microsoft 365 (Outlook, SharePoint & OneDrive) day to day
An institutional portfolio running Microsoft 365 imports n8n-microsoft-365-outlook-sharepoint-sync.json to replace manual calendar updates and PDF filing. Every morning at 6:00 AM, published availability milestones sync to the regional leasing Outlook calendar while monthly close manifests organize leases and owner statements inside the asset-management SharePoint library.
Field mapping & reference
Exact fields, endpoints, and data mapping.
Reference how Tenant Office records, headers, or API endpoints align with Microsoft 365 (Outlook, SharePoint & OneDrive) before running your first live workflow.
| Tenant Office field / endpoint | Microsoft 365 (Outlook, SharePoint & OneDrive) field / target | Mapping notes |
|---|---|---|
| listing.availableFrom & headline | Microsoft Graph /me/events all-day Outlook event | Schedules de-identified unit availability dates directly on shared leasing team Outlook calendars. |
| archiveManifest.entries[].archivePath & contentSha256 | SharePoint / OneDrive property/YYYY-MM folder & file checksum | Organizes monthly executed leases, owner statements, and close packets with auditable SHA-256 verification. |
| staffRole (admin | manager | accountant | technician) | Microsoft Entra ID security group object ID mapping | Maps explicit Entra ID security groups cleanly to least-privilege Tenant Office staff roles. |
Verification & troubleshooting
How to verify Microsoft 365 (Outlook, SharePoint & OneDrive) is working.
Run through these checks after completing setup to confirm clean delivery, scoping, and audit trails.
- Confirm Outlook Calendar receives all-day availability entries with zero resident personal data in event subjects.
- Verify SharePoint/OneDrive folder paths match property-slug/YYYY-MM structure and SHA-256 checksums log cleanly.
- Confirm Entra ID group mappings fail closed for unmapped security groups.
Common issues & fixes
Quick symptom, cause, and resolution guidance for the edge cases property teams encounter most often with Microsoft 365 (Outlook, SharePoint & OneDrive).
Microsoft Graph returns HTTP 401 or 403 on calendar or SharePoint writes.
- Likely cause
- The OAuth2 token lacks Calendars.ReadWrite or Files.ReadWrite permissions, or admin consent is pending.
- How to fix
- Grant scoped Calendars.ReadWrite and Files.ReadWrite permissions to your n8n Microsoft OAuth app and reconnect.
Archive uploads land in the root OneDrive folder instead of property subfolders.
- Likely cause
- The target drive base path variable was left at its placeholder value.
- How to fix
- Set the SharePoint/OneDrive drive ID and base folder path in your n8n environment variables before activating.
Outlook events appear one day shifted across time zones.
- Likely cause
- The event payload omitted isAllDay: true or used a local midnight offset instead of YYYY-MM-DD.
- How to fix
- Keep the blueprint’s default all-day ISO date formatter unchanged so Outlook displays exact calendar dates.
Questions (5)
Microsoft 365 (Outlook, SharePoint & OneDrive) FAQ
Detailed answers covering workflow scope, role permissions, pricing, edge cases, and data ownership.
How does this differ from the read-only Outlook .ics calendar feed?
The .ics feed is a zero-OAuth read-only subscription for schedules, while the Microsoft 365 parity blueprint writes structured Outlook Calendar events and SharePoint/OneDrive archive folders via Microsoft Graph.
Does Tenant Office require global Microsoft 365 admin credentials?
No. Your IT administrator authorizes only the scoped Microsoft Graph permissions required for the chosen Outlook calendar and SharePoint document library inside your own automation workspace.
How are archived leases and owner statements organized in SharePoint?
Tenant Office’s cloud archive manifest generates deterministic property-slug and YYYY-MM folder paths paired with SHA-256 file hashes for audit verification.
Can we map Microsoft Entra ID security groups to Tenant Office staff roles?
Yes. The Microsoft 365 parity adapter validates explicit Entra group ID to Tenant Office role mappings (admin, manager, accountant, technician) with fail-closed defaults.
Will turning off the blueprint affect existing files in SharePoint or Tenant Office?
No. Disabling the workflow or revoking the Customer API credential stops future runs while leaving all previously archived SharePoint files and Tenant Office records untouched.