Skip to content

Commit f6d837c

Browse files
author
Madhu Mach
committed
code-apps: add Work IQ (M365 Copilot Search) skill
Adds /add-workiq skill for the Work IQ Copilot MCP connector (shared_a365copilotchatmcp) with a production-ready McpSession wrapper, and registers it in add-connector, code-app-architect, and create-code-app. Validated end-to-end against a fresh code app.
1 parent 010dfdd commit f6d837c

4 files changed

Lines changed: 496 additions & 9 deletions

File tree

plugins/code-apps/agents/code-app-architect.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ The Power Apps CLI is installed automatically via `npm install` from the app tem
6161
| Read lists or manage documents in SharePoint | SharePoint (`/add-sharepoint`) |
6262
| Send emails, read inbox, manage calendar | Office 365 Outlook (`/add-office365`) |
6363
| Invoke a Copilot Studio agent | MCS Copilot (`/add-mcscopilot`) |
64+
| Search M365 data or get AI-powered answers | Work IQ (`/add-workiq`) |
6465
| Connect to any other service | Generic connector (`/add-connector`) |
6566

6667
**If none of the specific skills match**, invoke `/add-connector` — it handles any connector not covered above. Browse available connectors at https://learn.microsoft.com/en-us/connectors/connector-reference/ to find the correct API name. **If no connector exists for the required functionality, tell the user clearly and do not implement a direct API call as a workaround — it will not work in production.**
@@ -105,6 +106,7 @@ npx power-apps init -n '{app-name}' -e <environment-id>
105106
- **Azure DevOps**: HttpRequest method requires renaming `parameters` to `body` in 3 generated files.
106107
- **SharePoint/Excel**: Tabular datasources need `--dataset` and `--table` parameters when adding.
107108
- **Excel Online**: Body is a flat key-value object -- no `{ items: ... }` wrapper.
109+
- **Work IQ** (`shared_a365copilotchatmcp`): stateless-tolerant MCP connector — the connection is created with `npx power-apps create-connection` (browser OAuth) and it needs the `McpSession` wrapper (send **no** session id on `initialize`). See the `/add-workiq` skill for setup steps.
108110

109111
### Default Environment
110112

plugins/code-apps/skills/add-connector/SKILL.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Fallback skill for any connector not covered by a specific `/add-*` skill. For c
1919
- `/add-onedrive` -- OneDrive for Business
2020
- `/add-sharepoint` -- SharePoint Online
2121
- `/add-office365` -- Office 365 Outlook (calendar, email, contacts)
22+
- `/add-workiq` -- Work IQ (M365 Copilot Search)
2223

2324
## Workflow
2425

@@ -38,15 +39,16 @@ Otherwise, ask the user which connector they want to add. Browse available conne
3839

3940
**Before proceeding, check if the connector has a dedicated skill. If it does, delegate immediately and STOP:**
4041

41-
| Connector API name | Delegate to |
42-
| ----------------------- | ------------------ |
43-
| `sharepointonline` | `/add-sharepoint` |
44-
| `teams` | `/add-teams` |
45-
| `excelonlinebusiness` | `/add-excel` |
46-
| `onedriveforbusiness` | `/add-onedrive` |
47-
| `azuredevops` | `/add-azuredevops` |
48-
| `office365` | `/add-office365` |
49-
| `commondataservice` | `/add-dataverse` |
42+
| Connector API name | Delegate to |
43+
| --------------------------- | ------------------ |
44+
| `shared_a365copilotchatmcp` | `/add-workiq` |
45+
| `sharepointonline` | `/add-sharepoint` |
46+
| `teams` | `/add-teams` |
47+
| `excelonlinebusiness` | `/add-excel` |
48+
| `onedriveforbusiness` | `/add-onedrive` |
49+
| `azuredevops` | `/add-azuredevops` |
50+
| `office365` | `/add-office365` |
51+
| `commondataservice` | `/add-dataverse` |
5052

5153
Invoke the appropriate skill with the same `$ARGUMENTS` and **do not continue this skill's workflow**.
5254

0 commit comments

Comments
 (0)