Microsoft 365 Pack

Trustedv1.0.0MITVerified88

by AgentNode · published 22 days ago · toolpack

Integrate with Outlook, OneDrive, Teams, and Excel via Microsoft Graph.

Access Microsoft 365 services through the Graph API. Send emails, manage calendar events, upload files to OneDrive, post to Teams channels, and read/write Excel workbooks.

langchaincrewaigeneric

Quick Start

bash
agentnode install microsoft-365-pack

Usage

From package
python
from microsoft_365_pack.tool import run

result = run(
    action="send_email",
    to=["sarah.chen@acme.com", "dev-team@acme.com"],
    subject="Q1 Sprint Retrospective Notes",
    body="Hi team,\n\nAttached are the retrospective notes from Friday's session. Key action items are highlighted in yellow.\n\nBest,\nAlex",
    attachments=["/tmp/retro-notes-q1.pdf"],
    importance="high"
)
print(f"Email sent: {result['message_id']}")

Environment Variables

MS_CLIENT_ID

Azure AD application (client) ID for Microsoft Graph API authentication

required
MS_CLIENT_SECRET

Azure AD application client secret for OAuth2 client credentials flow

required
MS_TENANT_ID

Azure AD tenant (directory) ID identifying your organization

required

Verification

high confidence88/100✔ Verified
smokeReturned valid result
+25/25
testsAuto-generated tests only
+8/15
importAll tools imported successfully
+15/15
installInstalled in 1.6s
+15/15
contractAll contract checks passed
+10/10
warningsNo warnings
0/0
determinismOutput consistency check
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed.

install1.6s
import245ms
smoke191ms
tests1.5s

This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.

Python 3.12.3ffmpegpopplertesseractuv

Last verified 18d ago· Runner v2.0.0

Use this when you need to...

  • Send automated Outlook emails with attachments to distribution lists
  • Upload and organize project files in OneDrive shared folders
  • Post status updates and adaptive cards to Teams channels
  • Read and transform Excel spreadsheets into structured data
  • Search Outlook calendar for scheduling conflicts across attendees

README

Microsoft 365 Pack

Integrate with Outlook, OneDrive, Teams, and Excel via Microsoft Graph API. Automate emails, manage files, post to channels, and process spreadsheets from your AI agent workflows.

Quick Start

agentnode install microsoft-365-pack
from microsoft_365_pack.tool import run

result = run(action="send_email", to=["team@company.com"], subject="Hello", body="Sent from my agent.")
print(result)

Usage

Send Emails via Outlook

result = run(
    action="send_email",
    to=["alice@example.com"],
    subject="Weekly Report",
    body="Please find this week's metrics attached.",
    attachments=["/tmp/report.xlsx"]
)

Upload Files to OneDrive

result = run(
    action="onedrive_upload",
    local_path="/tmp/presentation.pptx",
    remote_path="/Projects/Q1 Launch/deck.pptx",
    share_with=["marketing@company.com"]
)
print(f"Shared link: {result['share_url']}")

Read Excel Spreadsheet Data

result = run(
    action="excel_read",
    file_path="/Shared Documents/sales-data.xlsx",
    sheet="January",
    range="A1:F50"
)
for row in result["rows"]:
    print(row)

API Reference

CapabilityDescription
onedrive_accessUpload, download, list, and share OneDrive files and folders
outlook_accessSend/read emails, manage calendar events, search mailbox
teams_accessPost messages, adaptive cards, and replies to Teams channels

Requirements

VariableRequiredDescription
MS_CLIENT_IDYesAzure AD application client ID
MS_CLIENT_SECRETYesAzure AD application client secret
MS_TENANT_IDYesAzure AD tenant (directory) ID

Register an app at Azure Portal and grant Microsoft Graph API permissions.

License

MIT

Version History

Capabilities

outlook_integrationoutlook_accesstool
onedrive_integrationonedrive_accesstool
teams_integrationteams_accesstool

Permissions

This package declares the following access levels. Review before installing.

Networkunrestricted
Filesystemtemp
Code Executionnone
Data Accessconnected_accounts
User Approvalonce
bash
agentnode install microsoft-365-pack

Environment Variables

MS_CLIENT_IDrequired
MS_CLIENT_SECRETrequired
MS_TENANT_IDrequired

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointmicrosoft_365_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode