Skip to content
LessIT

Microsoft 365 Copilot and Agents

Work IQ: Enable and Use the Microsoft 365 Copilot Workplace Intelligence API

Provision the Work IQ service principal, set up Copilot Credits billing, register a calling app and call Work IQ over A2A, REST, and local and remote MCP.

Intermediate 90 min 9 steps

Where it fits: lab 3 of 4

Build, extend and govern AI agents. Scope an AI use case, govern Cowork and Scout, call Work IQ, build an AI agent and connect agents to security data with MCP.

  1. AI Problem Scope and Opportunity Canvas 120 min
  2. Copilot Cowork and Microsoft Scout 8.8 h
  3. Work IQ: Enable and Use the Microsoft 365 Copilot Workplace Intelligence API 90 min
  4. Build and Use MCP Servers for Security 12 h

What this lab covers

Work IQ is the workplace intelligence layer Microsoft exposes over Microsoft 365 Copilot. It lets agents and applications reason over email, meetings, OneDrive / SharePoint files, Teams messages, people, and enterprise search results with permissions, sensitivity labels, and compliance policies enforced automatically — no custom retrieval pipeline, no vector store, no separate governance layer. This lab provisions Work IQ in your tenant (a one-time service-principal creation) and then walks every protocol Work IQ exposes: Agent-to-Agent (A2A) , REST , Local MCP , and Remote MCP . Every call is delegated — Work IQ does not support application-only authentication.

The enterprise scenario

A consulting firm wants an internal ops agent that, on demand, can answer questions like “What meetings do I have today?”, “Summarise the project-risk discussion in Teams this week”, and “Pull every email I received about the Contoso renewal.” Building this from scratch would require Graph permissions for Mail, Calendars, Files, Chat — plus custom ranking, summarisation, and a permission-trimming layer. With Work IQ they call one endpoint, the signed-in user’s permissions are honoured automatically, sensitivity labels and DLP policies are enforced server-side, and usage is billed through Copilot Credits .

This lab mirrors that scenario end-to-end: enable the API in the tenant, register a calling app, then run the same prompt over A2A, REST, and MCP — so the team can pick the protocol that best fits each surface (a backend service, a multi-agent orchestrator, an IDE assistant) without rewriting the integration.

What you will learn

  • What Work IQ is, the four supported protocols (A2A, REST, Local MCP, Remote MCP), and how to pick between them
  • How Work IQ’s authentication model works — delegated only, OBO supported, no application-only
  • How to set up Copilot Credits billing (the prerequisite for Work IQ API usage) in Copilot Studio
  • How to create the Work IQ service principal in your tenant via Graph Explorer, Azure CLI, and Microsoft Graph PowerShell — the one-time enablement
  • How to verify enablement using Get-MgServicePrincipal , az ad sp show , and the Entra admin center
  • How to register a calling application in Microsoft Entra ID with the correct delegated scopes for Work IQ
  • How to call Work IQ over A2A 1.0 ( SendMessage JSON-RPC) and continue a multi-turn conversation via contextId
  • How to call Work IQ over the REST endpoint from a service or backend

Before you start

  • Microsoft 365 tenant with at least one Microsoft 365 Copilot-licensed user (the user you will sign in as when calling Work IQ)
  • Global Administrator role — required once, only for Step 3 (service-principal creation)
  • Copilot Studio usage-based billing plan with an Azure subscription + resource group attached and a billing-plan owner assigned (Step 2)
  • Azure subscription with Owner or Contributor at the resource-group scope you will attach the billing plan to
  • Azure CLI 2.50 or later ( az --version ) and/or Microsoft Graph PowerShell SDK 2.0+ ( Install-Module Microsoft.Graph ) on your workstation
  • PowerShell 5.1+ or PowerShell 7+ , run from a regular (non-elevated) shell — Work IQ never needs admin on the calling machine
  • Node.js 18+ on the workstation that will host the Work IQ CLI (Step 7, Local MCP)
  • An MCP-aware client for Step 7 / 8 — Claude Desktop, Cursor, VS Code GitHub Copilot Chat with MCP enabled, or the MCP Inspector

The 9 steps

  1. Verify Tenant Readiness
  2. Set Up the Copilot Credits Billing Plan
  3. Enable Work IQ in Your Tenant (One-Time)
  4. Register a Calling Application in Microsoft Entra ID
  5. Call Work IQ over Agent-to-Agent (A2A 1.0)
  6. Call Work IQ over REST
  7. Wire Up Work IQ as a Local MCP Server
  8. Connect to Work IQ over Remote MCP
  9. Monitor Usage, Tighten Permissions, and Roll Out Safely