How microsoftdocs/office-365-management-api works
This repository is a documentation-as-code project for the Office 365 Management APIs, not an application runtime. Its primary “product” is a static technical docs site published from Markdown sources.
1. Core content layer
The main source material lives under office-365-management-api/ as Markdown files. These are the actual documentation pages for the API surface: overview, getting started, references, schemas, troubleshooting, and specialized scenarios like AIP and OME.
2. Information architecture / navigation
office-365-management-api/TOC.md and office-365-management-api/breadcrumb/toc.yml define the documentation hierarchy and page navigation. This is the structural backbone for how readers move through the docs site.
3. Page families and subject boundaries
The content is grouped into clear topic clusters:
• API overview and onboarding
• Office 365 Management Activity API reference and schema
• Office 365 Service Communications API reference
• AIP-related pages such as discovery, heartbeat, file deletion, protection actions, and sensitivity label actions
• OME portal documentation
• Troubleshooting and best practices
These clusters are likely rendered as separate sections within one site rather than separate services.
4. Static site build system
office-365-management-api/docfx.json indicates the site is built with DocFX. In architecture terms, DocFX is the documentation compiler that turns Markdown plus TOC/configuration into a static site.
5. Publishing pipeline
The repo includes .openpublishing.publish.config.json and .openpublishing.redirection.json, which show it is wired into Microsoft’s Open Publishing workflow. This is the deployment boundary from source docs to the hosted documentation platform.
6. Continuous publishing automation
.github/workflows/auto-publish.yml suggests GitHub Actions is used to trigger or validate publishing automatically. The repo therefore has a CI/CD-style docs pipeline: commit content, build/publish, update the live docs site.
7. Assets and presentation layer
office-365-management-api/images/ contains supporting illustrations or screenshots used by the docs pages. These are part of the rendered static site, not separate runtime assets.
8. Subject-matter dependency, not code dependency
The docs describe Microsoft services and APIs that require Microsoft Entra ID, OAuth v2, OData v4, and JSON. Those are the external runtime dependencies of the APIs being documented, but they are not implemented in this repo.
9. Repository purpose boundary
There is no application backend, SDK, or service implementation here. The repo’s responsibility ends at authoring, structuring, building, and publishing the documentation for the Office 365 Management APIs.
10. Governance and compliance layer
README.md, LICENSE, SECURITY.md, and ThirdPartyNotices establish the repository’s legal, security, and community metadata. These support the docs project but do not affect the site’s content flow.
If you are drawing the architecture, the key flow is: Markdown content and navigation files in office-365-management-api/ -> DocFX/Open Publishing build configs -> GitHub Actions / Open Publishing pipeline -> published static documentation site.
Main entry points: TOC.md TOC · docfx.json DocFX · aip-unified-audit-logs-best-practices.md Best practices · office-365-management-apis-overview.md Overview
Components 27
Content
Markdown source pages and navigation for the docs site
- Home · Entry point for the documentation site
office-365-management-api/index.md - TOC · Primary table of contents for the docs hierarchy
office-365-management-api/TOC.md - Breadcrumbs · Breadcrumb hierarchy used by the documentation site
office-365-management-api/breadcrumb/toc.yml
Topics
Major documentation subject clusters
- Overview · High-level description of the Office 365 Management APIs
office-365-management-api/office-365-management-apis-overview.md - Get started · Getting-started guidance for the APIs
office-365-management-api/get-started-with-office-365-management-apis.md - Activity API · Reference documentation for the Office 365 Management Activity API
office-365-management-api/office-365-management-activity-api-reference.md - Activity schema · Schema and payload structure for the management activity API
office-365-management-api/office-365-management-activity-api-schema.md - Service comms · Reference for the Office 365 Service Communications API
office-365-management-api/office-365-service-communications-api-reference.md - AIP discover · Discovery guidance for AIP-related auditing scenarios
office-365-management-api/AipDiscover.md - AIP heartbeat · Heartbeat-related guidance for AIP audit logs
office-365-management-api/AipHeartBeat.md - AIP deleted · File deletion guidance for AIP audit logs
office-365-management-api/AipFileDeleted.md - AIP protect · Protection action guidance for AIP audit logs
office-365-management-api/AipProtectionAction.md - AIP labels · Sensitivity label action guidance for AIP audit logs
office-365-management-api/AipSensitivityLabelAction.md - OME portal · Documentation for the Office 365 Message Encryption portal
office-365-management-api/OMEPortal.md - Troubleshoot · Troubleshooting guidance for the management activity API
office-365-management-api/troubleshooting-the-office-365-management-activity-api.md - Best practices · Best-practices guidance for AIP unified audit logs
office-365-management-api/aip-unified-audit-logs-best-practices.md - Copilot schema · Additional schema documentation related to Copilot
office-365-management-api/copilot-schema.md
Build & publish
DocFX and Open Publishing pipeline
- DocFX · Builds Markdown and navigation into a static documentation site
office-365-management-api/docfx.json - Open Publishing · Publishing and redirection configuration for Microsoft Open Publishing
.openpublishing.publish.config.json - Redirects · Redirection rules for the published documentation site
.openpublishing.redirection.json - Auto publish · GitHub Actions workflow that automates publishing
.github/workflows/auto-publish.yml
Assets
Supporting images and media
- Images · Illustrations and screenshots used by the docs pages
office-365-management-api/images
Governance
Repository metadata and policy files
- README · Repository overview and contributor-facing entry point
README.md - License · Repository licensing terms
LICENSE - Code license · Supplementary code licensing terms
LICENSE-CODE - Security · Security disclosure and vulnerability reporting guidance
SECURITY.md - Third-party notices · Notices for included third-party materials
ThirdPartyNotices
Connections 29
- Home → Overview: introduces · Landing page leads into the main overview
- Home → Get started: next · Landing page points readers to onboarding
- TOC → Home: routes to · TOC defines the home page and primary navigation
- TOC → Overview: routes to · TOC includes the overview page
- TOC → Get started: routes to · TOC includes onboarding guidance
- TOC → Activity API: routes to · TOC includes API reference material
- TOC → Service comms: routes to · TOC includes service communications reference
- TOC → AIP discover: routes to · TOC includes AIP scenario pages
- Breadcrumbs → TOC: mirrors · Breadcrumb hierarchy follows the TOC structure
- Overview → Activity API: context · Overview points toward the primary API surface
- Overview → Service comms: context · Overview points toward related service communications docs
- Get started → Troubleshoot: supports · Onboarding flows into troubleshooting guidance
- Activity API → Activity schema: defines · API reference is paired with the schema
- Activity API → Troubleshoot: supports · Reference material connects to troubleshooting
- AIP discover → Best practices: relates to · AIP scenarios are complemented by best practices
- AIP heartbeat → Best practices: relates to · AIP scenarios are complemented by best practices
- AIP deleted → Best practices: relates to · AIP scenarios are complemented by best practices
- AIP protect → Best practices: relates to · AIP scenarios are complemented by best practices
- AIP labels → Best practices: relates to · AIP scenarios are complemented by best practices
- DocFX → TOC: builds from · DocFX consumes navigation and markdown content
- DocFX → Breadcrumbs: builds from · DocFX consumes breadcrumb metadata
- DocFX → Images: packages · DocFX includes static assets in the site build
- Open Publishing → DocFX: publishes · Open Publishing uses the DocFX-built site
- Redirects → Open Publishing: extends · Redirect rules are part of the publishing boundary
- Auto publish → Open Publishing: orchestrates · GitHub Actions automates the publishing workflow
- Auto publish → DocFX: validates · Workflow can trigger or validate site generation
- README → DocFX: documents · README explains the docs build and repository usage
- README → Security: references · Repository metadata points to security guidance
- License → Third-party notices: complements · Legal files define repository redistribution terms