microsoft / microsoft/work-iq

CopilotConversation403Error on GCC (Government Community Cloud) tenant — CLI and MCP both fail

Open
#107 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
1k
Forks
132
Avg merge
5d 19h
Merged PRs (30d)
6

Description

Summary

WorkIQ CLI and MCP server return CopilotConversation403Error on a GCC (Government Community Cloud) tenant. Authentication succeeds, tenant is fully provisioned, and Copilot works in the browser — but all programmatic access via WorkIQ fails with 403.

Environment

  • Platform: macOS (Apple Silicon), Windows 11
  • WorkIQ version: 0.4.0.16790
  • Cloud: GCC (not GCC High or DoD) — uses commercial login.microsoftonline.com and graph.microsoft.com endpoints
  • Account: Global Admin with Microsoft 365 Copilot license assigned

Steps to Reproduce

  1. Run Enable-WorkIQToolsForTenant.ps1 — completes successfully
  2. Run Verify-WorkIQTenant.ps1 — all checks pass (all 10 MCP server service principals, CLI service principal, all 7 Graph scopes, all 13 MCP server scopes)
  3. Run workiq ask -q "hello"
  4. Result: Error: Exception of type 'ApiSdk.Models.CopilotConversation403Error' was thrown.

The same error occurs via the MCP server (ask_work_iq returns {"response":null,"conversationId":null,"error":"An error occurred while processing your request."}).

What Works

  • Copilot in the browser (Teams/M365) responds correctly to the same queries
  • Authentication completes without error (WAM broker provides token silently)
  • Tenant verification script confirms all service principals and permission grants are in place

Question

Is GCC supported? If not, is there a timeline for GCC support, or a workaround?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with Enable-WorkIQToolsForTenant.ps1, Verify-WorkIQTenant.ps1, workiq ask, and the ask_work_iq MCP operation. Compare the successful tenant checks and browser behavior with the programmatic requests to determine whether GCC is supported. Done means establishing support status, a documented workaround, or a confirmed maintainer decision on GCC support.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
api, cli, cloud
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.