Skip to main content

Microsoft 365

Connect your agents to Microsoft 365 for Outlook email, OneDrive, Office documents (Word, Excel, PowerPoint), Calendar, Teams, and SharePoint.

92 tools across 10 Microsoft services.

Outlook (8 tools)

ToolDescription
outlook_sendSend email via the agent's assigned Microsoft 365 email address
outlook_listList emails from a mailbox folder with OData filtering
outlook_readRead the full content of an email by message ID
outlook_searchFull-text search emails using KQL syntax
outlook_replyReply or reply-all to an email
outlook_forwardForward an email to other recipients
outlook_moveMove an email to a different folder
outlook_deleteDelete an email (moves to Deleted Items)

The body field supports HTML content. Multiple recipients can be comma-separated in to, cc, and bcc. The filter parameter on outlook_list accepts OData filter expressions and outlook_search uses KQL (Keyword Query Language).

OneDrive (7 tools)

ToolDescription
onedrive_listList files and folders
onedrive_searchSearch files by name or content
onedrive_readRead/download file content (text or base64)
onedrive_uploadUpload a file (text or base64, up to 4 MB)
onedrive_create_folderCreate a folder
onedrive_shareShare a file or folder with another user
onedrive_deleteDelete a file or folder
File Size Limits

10 MB max for reads, 4 MB for simple uploads. Binary files are returned as base64.

Office Document Creation (3 tools)

Create new Office documents in OneDrive. Documents can be opened in Office Online for editing.

ToolDescription
word_createCreate a new Word document (.docx)
excel_createCreate a new Excel spreadsheet (.xlsx)
powerpoint_createCreate a new PowerPoint presentation (.pptx)

Extensions are added automatically. All documents return an id, name, and webUrl for Office Online editing.

Rich Document Creation (3 tools)

Generate professional, content-rich Office documents and save them directly to OneDrive. These tools use server-side rendering to produce fully formatted files -- no templates needed.

ToolDescription
powerpoint_create_deckCreate a presentation with multiple slides, layouts, and speaker notes
word_create_documentCreate a document with sections, headings, paragraphs, bullets, and tables
excel_create_workbookCreate a multi-sheet workbook with headers, data rows, and column sizing

Presentation layouts: title, content, section, two-column, blank. Each slide supports title, subtitle, body, bullets, speaker notes, and layout.

Word document sections support headings (levels 1-4), paragraphs, bullet lists, and tables with headers and rows.

Excel workbooks support multiple named sheets, each with headers, data rows, and optional column widths.

Excel Data (4 tools)

Read and write spreadsheet data via the Microsoft Graph Workbook API.

ToolDescription
excel_readRead data from a cell range
excel_writeWrite data to cells
excel_appendAppend rows to a named table
excel_create_tableCreate a named table from a range
Named Tables

Create named tables before using excel_append -- it enables structured data management where new rows are automatically added to the table boundary.

Calendar (2 tools)

ToolDescription
ms_calendar_list_eventsList upcoming events from the agent's Outlook calendar
ms_calendar_create_eventCreate a calendar event with optional Teams meeting

Set isOnlineMeeting: true when creating an event to automatically attach a Teams meeting link.

Teams (5 tools)

ToolDescription
teams_create_meetingCreate a Teams meeting with join link
teams_list_channelsList channels in a team
teams_sendSend a message to a Teams channel
teams_replyReply to a message in a channel
teams_list_membersList members of a team

Meetings can be instant (omit start/end times) or scheduled. Channel messages support both plain text and HTML content.

SharePoint (3 tools)

ToolDescription
sharepoint_list_sitesList or search SharePoint sites
sharepoint_searchSearch content across SharePoint (files, list items, sites)
sharepoint_list_itemsList items in a SharePoint list

Cross-site search uses the Microsoft Search API to find content across all accessible SharePoint sites. You can filter by entity type (driveItem, listItem, etc.).

Microsoft Admin (13 tools)

Administrative tools for provisioning groups, sites, channels, users, and licenses. These require application permissions with admin consent.

Groups & Infrastructure (5 tools)

ToolDescriptionRequires Approval
ms_admin_create_groupCreate a Microsoft 365 Group (mailbox, calendar, SharePoint site, Planner)Yes
ms_admin_add_group_memberAdd a member or owner to a groupNo
ms_admin_create_sharepoint_siteCreate a SharePoint site (via group provisioning)Yes
ms_admin_create_teams_channelCreate a Teams channel in an existing teamNo
ms_admin_teamify_groupEnable Teams for an existing Microsoft 365 GroupYes

User Management (4 tools)

ToolDescriptionRequires Approval
ms_admin_create_userCreate a new user in Azure ADYes
ms_admin_list_usersList/search directory usersNo
ms_admin_update_userUpdate user propertiesNo
ms_admin_delete_userDelete a user (recoverable for 30 days)Yes

License Management (4 tools)

ToolDescriptionRequires Approval
ms_admin_list_licensesList available license SKUsNo
ms_admin_assign_licenseAssign a license to a userYes
ms_admin_revoke_licenseRemove a license from a userYes
ms_admin_get_user_licensesGet a user's assigned licensesNo

Tools marked "Requires Approval" are gated because they incur costs, modify directory objects, or affect licensing. A human must approve before the agent can execute them.

Automatic Workspace Provisioning

When you start a team with Microsoft 365 connected, MeetLoyd can automatically create an M365 Group with a SharePoint site for the team. The document library gets standard folders (Reports, Working, Shared, Archive) and agents are added as group members.

  • Azure AD app configured: M365 Group and SharePoint site created automatically during team first-start
  • No credentials: A guided task is created for your admin to set up manually

Team bosses and lead agents become group owners, regular agents become members. Group members automatically get edit access to the SharePoint document library.

See Team Workspace Provisioning for full details.

Files & Attachments Integration

Microsoft 365 tools work alongside MeetLoyd's file management system:

  • Agents can read and upload files to OneDrive
  • Agents can create blank or rich Office documents (Word, Excel, PowerPoint) directly in OneDrive
  • Agents can generate professional slide decks, structured Word documents with tables, and multi-sheet Excel workbooks
  • Agents can read and write Excel data for reporting and data management
  • Agents can share files with team members
  • For local file operations (security scanning, parsing, RAG), use MeetLoyd's built-in file management

Setup & Configuration

Authentication Model

Microsoft 365 tools use Azure AD client credentials flow (application permissions). The agent impersonates a Microsoft 365 user via its assigned email address.

Prerequisites

  1. Register an app in Azure AD Portal
  2. Add API permissions (application type) -- see the permissions table below
  3. Create a client secret
  4. Grant admin consent for all permissions
  5. Store credentials in the MeetLoyd vault:
SecretDescription
MS_TENANT_IDAzure AD tenant ID
MS_CLIENT_IDApplication (client) ID
MS_CLIENT_SECRETClient secret value
  1. Assign email -- each agent must have a Microsoft 365 email configured in its settings

Required Permissions by Service

ServicePermissions
OutlookMail.ReadWrite, Mail.Send
OneDriveFiles.ReadWrite.All
CalendarCalendars.ReadWrite
Teams meetingsOnlineMeetings.ReadWrite.All
Teams messagingChannelMessage.Send, Team.ReadBasic.All
SharePointSites.Read.All
Admin: GroupsGroup.ReadWrite.All
Admin: SitesSites.ReadWrite.All
Admin: ChannelsChannel.Create
Admin: UsersUser.ReadWrite.All, Directory.ReadWrite.All
Admin: LicensesOrganization.Read.All
Use Least Privilege

Only request the permissions your agents actually need. If an agent only reads email, use Mail.Read instead of Mail.ReadWrite. Admin permissions require extra care since they affect your entire directory.

Best Practices

Assign dedicated agent emails. Each agent should have its own Microsoft 365 mailbox for a clear audit trail, isolated mailbox per role, and easy revocation.

Use server-side filtering. When listing emails, use OData filter expressions to fetch only what the agent needs instead of pulling everything and filtering client-side.

Use named tables for Excel. Create a named table with excel_create_table before using excel_append -- it enables structured data management.

Troubleshooting

"No Azure Credentials" -- The tool returns a setupGuide with steps. Check that MS_TENANT_ID, MS_CLIENT_ID, and MS_CLIENT_SECRET are stored in the vault.

"Insufficient Privileges" -- Check API permissions in Azure AD app registration. Ensure admin consent was granted (application permissions require this). Verify the agent's email is a licensed Microsoft 365 account.

"No Agent Email" -- Each agent must have a Microsoft 365 email assigned in its settings page.

"Request Throttled" -- Microsoft Graph has service-specific limits:

ServiceLimit
Outlook10,000 requests/10 minutes
OneDrive10,000 requests/10 minutes
Teams2,000 requests/minute

Next: Explore HubSpot integration.