What I'm trying to do
I'm building an AI Teammate agent ("a governance assistant") to demo at an upcoming conference session on agent governance with Agent 365. The goal is a working end-to-end story: an agent registered as a first-class identity, deployed to the cloud, observable, and reachable in Teams — so I can show the full governance lifecycle live.
I've gotten everything working except the very last step: activating the agent instance in Teams consistently fails with HTTP 500.
Environment
- Frontier-enrolled tenant
- Agent 365 standalone license
- AI Teammate agent (
a365 setup all --aiteammate --m365)
- CLI version: 1.1.199
- Agent code hosted on Azure Container Apps, confirmed running and healthy
Steps to reproduce
- Clean up all old blueprints (
a365 cleanup) and purge soft-deleted ones via Graph
a365 setup all --aiteammate --m365 --agent-name "<name>" — completes successfully
- Confirm
managerApplications is set on the blueprint
- Register messaging endpoint via
a365 setup blueprint --endpoint-only
a365 publish, then upload manifest to admin center (succeeds)
- All 4 wizard steps complete (Select users, Apply template, Accept permissions, Review & finish)
- Final activation fails: "We couldn't activate your agent. Request failed with status 500"
Expected behavior
Agent instance activates and the AI Teammate is provisioned.
Actual behavior
HTTP 500 at activation. Reproduced on two separate clean blueprints with identical results.
Verified NOT the cause
- Single blueprint, no duplicates (soft-deleted ones purged)
managerApplications is set on the blueprint
- All API permissions consented (Graph, Agent 365 Tools MCP, Bot API, Observability, Power Platform)
- S2S app roles granted
- Agent running and healthy in hosting (/api/health returns ok)
- Messaging endpoint registered successfully
- Manifest uploaded successfully
- Tenant is Frontier-enrolled
I'd appreciate if you could help me fix this.

What I'm trying to do
I'm building an AI Teammate agent ("a governance assistant") to demo at an upcoming conference session on agent governance with Agent 365. The goal is a working end-to-end story: an agent registered as a first-class identity, deployed to the cloud, observable, and reachable in Teams — so I can show the full governance lifecycle live.
I've gotten everything working except the very last step: activating the agent instance in Teams consistently fails with HTTP 500.
Environment
a365 setup all --aiteammate --m365)Steps to reproduce
a365 cleanup) and purge soft-deleted ones via Grapha365 setup all --aiteammate --m365 --agent-name "<name>"— completes successfullymanagerApplicationsis set on the blueprinta365 setup blueprint --endpoint-onlya365 publish, then upload manifest to admin center (succeeds)Expected behavior
Agent instance activates and the AI Teammate is provisioned.
Actual behavior
HTTP 500 at activation. Reproduced on two separate clean blueprints with identical results.
Verified NOT the cause
managerApplicationsis set on the blueprintI'd appreciate if you could help me fix this.