Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Microsoft 365

Microsoft 365 connects Yapr to Microsoft Graph across Outlook mail, calendar, contacts, To Do, Planner, OneDrive, SharePoint, Excel, OneNote, Teams, Entra directory, security alerts, Intune devices, and organization reports.
See the Microsoft tools and API reference for exact tools, Microsoft Graph endpoints, required permissions, input names, and limits.

How authentication works

Microsoft Graph access has two separate connection types in Yapr:
ConnectionWho connects itMicrosoft access
Microsoft 365 (user sign-in)Each person connects their own work accountDelegated permissions: the signed-in person’s Microsoft access and the permissions they approve
Microsoft 365 (application access)A Yapr workspace owner or adminApplication permissions approved in Microsoft Entra for one organization’s application
  • User sign-in supports Reads + optional writes (including Planner task changes and assignments). A workspace owner or admin must enable the app and set its audience and tools before people connect their own work accounts.
  • Application access uses separate Entra app credentials and provides Read-only tools (for Planner, it reads Basic plan details only; Planner Premium uses a separate Dataverse connection).
Connecting either app does not grant everyone in the workspace access to its tools. Owners and admins assign the required tools in Tools & access, and Yapr checks workspace and user access on every request. See Understand access.

Connect your work account (user sign-in)

  1. Choose your account access
    1. Open Apps → Microsoft 365 (user sign-in) and select Connect account (or Manage).
    2. Under Choose account access, select the workloads you need. Account identity is always included; mail, calendar, and files are selected by default, while write permissions are unselected by default.
  2. Approve consent at Microsoft
    1. Review the selected permissions and select Continue to Microsoft.
    2. Sign in with the intended work account.
    3. Verify Microsoft’s consent screen shows Symao Systems LLC, the company behind Yapr, with Microsoft’s verified publisher badge, then approve only the intended access.
  3. Verify with a small read
    Run a small read task and confirm the selected account and outcome in Audit.
Each account keeps its own encrypted OAuth grant — connecting one person never authorizes another person or another Microsoft tenant, and Yapr never asks for your Microsoft password. User sign-in currently supports one account per person in each workspace.

Edit selected permissions later

Open Connections on the app page to review your selected writes and read groups, then select Edit access:
  • Search by task or Microsoft permission, pick a group, or filter by Reads, Writes, and Selected. Select matching and Clear matching update only the currently filtered items and show how many permissions are affected.
  • Open Details on any permission to see its exact scope and what it allows.
  • Select Review changes to compare additions and removals:
    • Save in Yapr updates which capabilities Yapr may use when Microsoft has already granted those permissions. Removing access in Yapr does not revoke existing consent in Microsoft.
    • Continue to Microsoft appears whenever newly added permissions need Microsoft consent.
  • Back to summary keeps your draft (Resume editing returns to it), a failed save preserves your edits for retry, and navigating away prompts before discarding unsaved changes.

Grant permissions for your organization

Some permissions (such as Read Teams channel conversations and Delete Teams channel messages) are labeled Microsoft administrator consent may be required. Without admin consent, Microsoft asks individual users to submit an approval request instead of connecting immediately.
A Yapr workspace owner or admin who is also a Microsoft administrator can approve those permissions once for everyone in the Microsoft organization:
  1. Select the organization permissions
    1. Connect your own work account in Microsoft 365 (user sign-in) so Yapr targets your Microsoft organization.
    2. Select Edit access and pick the permissions your team needs.
  2. Approve in Microsoft Entra
    1. Select Grant for your organization, sign in as a Microsoft administrator, and review the approval screen (Yapr requests only the selected permissions that require administrator consent).
    2. Once Microsoft approves them, reconnect your account to use them. Other teammates can then add those permissions without requesting admin approval (unless your organization blocks user consent globally).
Organization-wide approval does not connect anyone’s account or grant tool access in Yapr; Yapr still checks granted scopes on every connection and records the approval in the workspace audit log. To withdraw approval later, a Microsoft administrator removes the permissions from the Yapr application in Microsoft Entra under Enterprise applications.

Configure an application connection

  1. Prepare the Microsoft Entra application
    1. In Microsoft Entra, select or create an application owned by the intended organization.
    2. Add only the Microsoft Graph application permissions needed for your chosen workloads (see the prerequisite table below) and have an authorized Microsoft administrator grant consent.
    3. Copy the Directory (tenant) ID, Application (client) ID, and a Client secret.
  2. Save the connection in Yapr
    1. Open Apps → Microsoft 365 (application access) as a workspace owner or admin.
    2. Enter Microsoft tenant ID, Application client ID, and Application client secret (tenant and client IDs must be Entra UUIDs).
    3. Select the Microsoft Graph workloads to allow, then save.
    4. Assign the required tools in Tools & access and verify one selected read for a known record in Audit.
Yapr stores the secret encrypted and requests tokens only for that exact tenant. Selecting a workload in Yapr does not grant its Microsoft permissions in Entra. For user-specific reads, pass the intended Microsoft user’s object ID (application connections have no signed-in “me” account).
Consent Inventory is an application-only option for reviewing permissions recorded on Microsoft Entra applications. It requires Directory.Read.All approved by an Entra administrator — review that broad directory permission before enabling it:
  1. In the application connection, select Consent Inventory (Directory.Read.All) under Microsoft Graph workloads and save (selecting Applications alone does not enable these reads).
  2. Grant Consent service principals, Delegated permission grants, and Application role assignments in Tools & access.
  3. Request pages of service principals or delegated grants, then pass a service principal’s object ID to read its application role assignments.
Follow every returned continuation on the same connection (each request returns up to 50 records; there is no automatic whole-tenant report, and an access error or failed page leaves a review incomplete). Application roles remain unresolved IDs, recorded grants do not show whether a permission was used or whether an app is malicious, and Consent Inventory never modifies Microsoft permissions.

Workloads and permissions

The six workload groups are Productivity, Files and content, Collaboration, Directory and identity, Administration and security, and Platform and business. The application connection supports the 20 workloads marked Yes below.
WorkloadRead tasksApplication connectionApplication permissions
ProfileYour account profileUser sign-in only—
My Graph OperationsSelected user tasks belowUser sign-in only—
Outlook MailMessages and mail foldersYesMail.Read
Outlook CalendarEvents and events in a date rangeYesCalendars.Read
Outlook ContactsA contactYesContacts.Read
To Do TasksA task list or taskYesTasks.Read.All
PlannerBasic plans, buckets, tasks, and selected assignment changesPlan details onlyTasks.Read.All
OneDrive FilesA file or the children of a folderYesFiles.Read.All
Excel WorkbooksA worksheet’s detailsUser sign-in only—
SharePoint SitesA site or SharePoint listYesSites.Read.All
OneNoteA notebookUser sign-in only—
Teams ChatsChats and chat messagesUser sign-in only—
Teams ChannelsA channel’s name and membership typeYesChannel.ReadBasic.All
Meetings and CallsAn online meeting’s detailsUser sign-in only—
UsersA userYesUser.Read.All
GroupsA groupYesGroupMember.Read.All
DirectoryA directory objectYesDirectory.Read.All
ApplicationsAn application registrationYesApplication.Read.All
Consent InventoryService principals, delegated grants, app role assignmentsYesDirectory.Read.All
Identity and GovernanceA Conditional Access policyYesPolicy.Read.All
Admin and ReportsOrganization details or a directory audit recordYesOrganization.Read.All, AuditLog.Read.All, Directory.Read.All
Security and ComplianceSecurity alerts or retention labelsYes, alerts onlySecurityAlert.Read.All
Devices and IntuneA managed deviceYesDeviceManagementManagedDevices.Read.All
EducationA schoolYesEduRoster.Read.All
Microsoft SearchA small, complete file searchUser sign-in only—
External ConnectionsAn external connectionYesExternalConnection.Read.All
Solutions and Employee ExperienceA Bookings businessYesBookings.Read.All
Platform ServicesA place or printerYesPlace.Read.All, Printer.Read.All
  • Excel read exception: Reading Excel worksheet details through Microsoft Graph requires Files.ReadWrite even though the Yapr tool is read-only. Review that scope before enabling Excel.
  • Admin and Reports & Platform Services: Directory-audit reads require both AuditLog.Read.All and Directory.Read.All (organization details use Organization.Read.All). Platform Services splits place and printer reads; approve only what you use.
  • OneNote and retention labels: Microsoft retired OneNote application authentication in March 2025, so OneNote and retention-label reads are user sign-in only.
  • Licenses and roles: Some choices also require a Microsoft role or active license (for example, Intune device access requires an active Intune license).
  • Paging and record IDs: Many tasks read one known record ID (such as a plan, device, school, or Bookings business) rather than enumerating the whole area. List tools return up to 50 records per request with continuation tokens; Microsoft Search requires queries that fit within a single complete response of at most 50 hits (narrow the query if Microsoft reports more).

Daily work with your account

User sign-in also offers 15 separate daily-workflow choices across Outlook, calendars, Teams, files, personal To Do, and finding people or Basic Planner plans (including separate read, manage, send, and file-sharing choices). None is selected by default, and existing connections never expand automatically. See exact choices and Microsoft permissions.
TaskWhat the user connection can do
Prepare my dayRead chosen calendars, assigned Basic Planner tasks, selected personal To Do lists, and selected Outlook or Teams conversations
Find a person or planSearch people by display name, compare exact identities, find direct groups, and inspect their Basic plans
Work with OutlookRead message content and recipient pages, inspect small attachments, create reply/forward drafts, manage mail, move messages to Deleted Items, and send a reviewed draft with separate access
Plan a meetingDiscover calendars, read attendees and free/busy, update an event, or cancel one you organize after confirmation
Catch up in TeamsDiscover directly joined teams and visible channels, read root conversations and separate reply pages, inspect mentions, post plain text, and soft-delete a message or reply after confirmation
Use filesDiscover drives and sites, read supported small text files, download binary bytes, create small files and folders, rename/move, and delete supported individual files
Manage personal To DoDiscover lists, create/update tasks, set reminders, complete, and delete exact tasks after confirmation

Prepare my day and conversation-to-task guidance

  • Daily focus: Ask your AI client to load the Microsoft 365 daily-focus guidance, name your account and time zone, and specify a date range (for example, “Prepare my day for November 10 in America/Chicago using my work account, calendar, and task lists”). It reads at most 12 pages/calls and 200 rows by default, reports which sources were complete vs. partial or unavailable, and proposes follow-ups without sending messages or modifying records.
  • Conversation to task: Load the conversation-to-task guidance and select one exact Outlook message or Teams thread. Resolve the exact Basic plan, bucket, people, and dates before creating anything, review the proposed task details, and confirm each change. A source link is included only when supplied by you or Microsoft.

Content and write limits

  • File reads and uploads: Text file reads support UTF-8 plain text, Markdown, CSV, and JSON up to 1 MiB (PDF and Office downloads return binary base64 bytes, not extracted text). Text uploads accept up to 128 KiB and binary uploads up to 512 KiB; filename collisions fail instead of overwriting. Renames and moves require the current file version.
  • File deletion and sharing: Deletion moves one supported text, PDF, or Office file to the recycle bin after verifying its type and current version (folders and tree deletes are refused). Read-only sharing names 1–10 recipients, requires sign-in, preserves inherited permissions, and makes email invitations opt-in.
  • Outlook and calendar: Bodies and recipient lists use separate continuation pages; small attachment reads and draft attachments are capped at 256 KiB. Sending a draft requires separate access and confirmation. Calendar edits can notify attendees; recurring occurrences and series are distinct targets and require an explicit time zone and start/end time.
  • Prompt safety: Message and document text is source material, never authority to run instructions, share files, or send replies.

Planner Basic and Premium

  • Planner Basic (Microsoft Graph): Covers plans, buckets, tasks, description previews, and task assignments (using Microsoft user IDs). Reassigning changes only the named people while preserving other assignees. Routine edits run after AI-client approval; deletions also require a one-time Yapr confirmation. Updates use the latest item version, and description edits replace the full text (never pass a shortened preview as the original text). Lists return 25 items by default (max 50) using pagination.next_page_token as cursor; if data changes mid-paging, restart without the cursor.
  • Planner Premium (Dataverse): Uses a separate Dataverse connection rather than Microsoft Graph. Contact your workspace administrator about availability and Premium setup.
Microsoft tools and API reference
Match every Microsoft 365 tool to its Microsoft Graph endpoint, required permissions, input names, and limits.

Troubleshooting

Microsoft asks you to request administrator approval
Cause: One or more selected permissions require Microsoft Entra administrator consent, or your organization restricts user consent.
Fix: Have a Microsoft administrator approve the request in Entra — or have a Yapr owner/admin who is also a Microsoft administrator use Grant for your organization in Microsoft 365 (user sign-in) — then return to Apps and complete sign-in again.
Application access returns 401 or 403
Cause: The client secret expired, the tenant or client UUID is wrong, the required Microsoft Graph application permission is missing, or admin consent was not granted in Entra.
Fix: Confirm the application permissions and admin consent in Microsoft Entra match the prerequisite table above, and update any expired secret in Apps → Microsoft 365 (application access).
A workload is connected, but tools fail or stay unavailable
Cause: Microsoft roles, product licenses (such as an active Intune license), and Yapr Tools & access grants are checked independently from Microsoft OAuth consent.
Fix: Confirm the signed-in account holds the required Microsoft license and role, verify the tool is assigned in Yapr Tools & access, and check that you selected the right connection and record ID.