Microsoft Word (Client Credentials)
Integrate your application with the Microsoft Word API via Microsoft Graph, using an app-only (client credentials) token
🚀 Quickstart
Connect to Microsoft Word with Tenklo and see data flow in 2 minutes.
In Tenklo (free signup), go to Integrations -> Configure New Integration -> Microsoft Word (Client Credentials).
Go to Connections -> Add Test Connection -> Connect, then enter your Tenant ID, Client ID, and Client Secret. Later, you'll let your users do the same directly from your app.
Let's make your first request to the Microsoft Graph API (list SharePoint sites). Replace the placeholders below with your API key, integration ID, and connection ID:
curl "https://api.tenklo.dev/proxy/v1.0/sites?search=*" \
-H "Authorization: Bearer <NANGO-API-KEY>" \
-H "Provider-Config-Key: <INTEGRATION-ID>" \
-H "Connection-Id: <CONNECTION-ID>"Or fetch credentials with the Node SDK or API.
✅ You're connected! Check the Logs tab in Tenklo to inspect requests.
Follow our Auth implementation guide to integrate Tenklo in your app.
To obtain your own production credentials, follow the setup guide linked below.
📚 Microsoft Word (Client Credentials) integration guides
Nango-maintained guides for common use cases.
- How do I link my account? Connect using an Entra ID app with application permissions and client credentials
Official docs: Microsoft Graph API for OneDrive & SharePoint
🧩 Pre-built syncs & actions for Microsoft Word (Client Credentials)
Explore Nango-provided actions in your dashboard. Extend and customize them to fit your needs.
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
copy-word-document | Copy a Word document to a (possibly different) folder, optionally renaming it. | Action | 🔗 Github |
create-folder | Create a folder in a drive to organize Word documents. | Action | 🔗 Github |
create-sharing-link | Create a sharing link for a Word document. | Action | 🔗 Github |
create-word-document | Upload a new Word document to a drive folder | Action | 🔗 Github |
delete-word-document | Delete a Word document. | Action | 🔗 Github |
get-site-drive | Get the default document library (drive) for a SharePoint site. | Action | 🔗 Github |
get-user-drive | Get a user's personal OneDrive (drive). | Action | 🔗 Github |
get-word-document-as-pdf | Download a Word document converted to PDF | Action | 🔗 Github |
get-word-document-content | Download the raw .docx content of a Word document. | Action | 🔗 Github |
get-word-document | Retrieve metadata for a Word document (driveItem). | Action | 🔗 Github |
list-sites | Search/list SharePoint sites accessible to the app | Action | 🔗 Github |
list-users | List/search tenant users, to resolve a user id for personal OneDrive access. | Action | 🔗 Github |
list-word-document-permissions | List sharing permissions on a Word document. | Action | 🔗 Github |
list-word-document-versions | List the version history of a Word document. | Action | 🔗 Github |
list-word-documents | List/search .docx files within a drive | Action | 🔗 Github |
move-word-document | Move a Word document to a different folder. | Action | 🔗 Github |
update-word-document-content | Replace the content of an existing Word document. | Action | 🔗 Github |
update-word-document-metadata | Rename a Word document or update its description, without touching content. | Action | 🔗 Github |
word-documents | Sync .docx files within a drive | Sync | 🔗 Github |
API gotchas
- With an app-only token there's no signed-in user, so
/me/...endpoints don't work. Target a specific user or site instead —/v1.0/users/{id}/drive/...or/v1.0/sites/{site-id}/drive/...— using an ID you resolved from/v1.0/usersor/v1.0/sites. - Application permissions (not delegated) must be granted and admin-consented in Entra ID — see the connect guide for common permission names.