Provision and Deploy
Provision Azure and M365 resources, then deploy your agent to the cloud.
Local Provisioning (for Teams testing)
bash
atk provision --env local -i false
atk deploy --env local -i falseThis runs actions in m365agents.local.yml — registers Teams app, creates bot AAD app, and writes runtime config to .localConfigs.
Post-Provisioning Verification (Required)
ATK's aadApp/create may not write TENANT_ID to .localConfigs. After provisioning, always verify:
bash
# 1. Check TENANT_ID is in .localConfigs
grep TENANT_ID .localConfigs
# 2. If missing, copy it from the env file (aadApp/create writes it there)
grep TENANT_ID env/.env.local