Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.runlayer.com/llms.txt

Use this file to discover all available pages before exploring further.

Prerequisites

  • Microsoft 365 admin access to enable Agent 365
  • Access to your Runlayer instance

Setup Steps

1

Enable Agent 365 Access

  1. Navigate to Microsoft Admin Center > Copilot Settings
  2. Under Web apps, enable access for all users or specific users
2

Find Your Environment ID

The Agent 365 servers require your Power Platform environment ID.
  1. Find your environment ID using Microsoft’s guide
  2. Save this for the next step
3

Add Server in Runlayer

  1. In Runlayer, go to My connectors and click Add connector
  2. Find a Microsoft Agent 365 (Work IQ) server (e.g., Microsoft Teams (Work IQ), Microsoft Outlook Mail (Work IQ))
  3. Replace the placeholder environment ID in the URL with your actual environment ID
  4. Click Create Hosted MCP
  5. When prompted, sign in with your Microsoft 365 account to authorize access
No Azure AD app registration is required. Runlayer handles OAuth automatically using a shared multitenant application. Users just need to consent during the sign-in flow.

Available Servers

All Microsoft Agent 365 (Work IQ) servers share the same OAuth authorization:
ServerTools
Microsoft Teams (Work IQ)25
Microsoft Outlook Mail (Work IQ)20
Microsoft SharePoint and OneDrive (Work IQ)15
Microsoft SharePoint Lists (Work IQ)13
Microsoft Outlook Calendar (Work IQ)12
Microsoft 365 User Profile (Work IQ)6
Microsoft Word (Work IQ)4
Microsoft 365 Copilot Search (Work IQ)1
Microsoft 365 Admin Center (Work IQ)1

Troubleshooting

If Agent 365 servers return errors after setup:
  • Verify Agent 365 access is enabled in the Microsoft Admin Center (Step 1)
  • The API may take a few minutes to propagate after enabling access
If you see connection errors:
  • Double-check your Power Platform environment ID
  • Ensure you’re using the environment ID, not the tenant ID
  • See Microsoft’s guide for finding the correct ID

Next Steps

OAuth Broker Guide

Learn more about OAuth Broker

MCP Custom Servers

Create other custom MCP servers