From d365728372b5758221000724c73d2f34d3ecbd7a Mon Sep 17 00:00:00 2001 From: Mohammed Mansoor Ahmed Date: Fri, 22 May 2026 22:48:31 +0530 Subject: [PATCH] docs(add-teams): add CLI path as auto setup option - @microsoft/teams.cli registers bots via the Teams Developer Portal, skipping the Azure subscription requirement that blocks users on locked-down corporate tenants --- .claude/skills/add-teams/SKILL.md | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/.claude/skills/add-teams/SKILL.md b/.claude/skills/add-teams/SKILL.md index f6eeaf977..3ea23a873 100644 --- a/.claude/skills/add-teams/SKILL.md +++ b/.claude/skills/add-teams/SKILL.md @@ -55,6 +55,41 @@ pnpm run build ## Credentials +Two paths — manual (Azure Portal) or auto (Teams CLI). + +### Auto: Teams CLI + +Requires Node.js 18+, a Microsoft 365 account with sideloading permissions, and a public HTTPS endpoint (ngrok, Cloudflare Tunnel, or similar). + +1. Install the CLI: + + ```bash + npm install -g @microsoft/teams.cli@preview + ``` + +2. Sign in and verify: + + ```bash + teams login + teams status + ``` + +3. Create the Entra app, client secret, and bot registration: + + ```bash + teams app create \ + --name "NanoClaw" \ + --endpoint "https://your-domain/api/webhooks/teams" + ``` + +4. Pick **Install in Teams** from the post-create menu and confirm in the Teams dialog. + +Continue to [Configure environment](#configure-environment). + +--- + +The steps below describe the **manual Azure Portal path**. + ### Step 1: Create an Azure AD App Registration 1. Go to [Azure Portal](https://portal.azure.com) > **App registrations** > **New registration**