Przejdź do treści
Biblioteka skilli
AI i agenci · Integracja z narzędziem

deploy-copilot-teams-extension

/deploy-copilot-teams-extension

Wdraża rozszerzenie Copilot dla Teams: manifest aplikacji Teams, Bot Service, SSO, Adaptive Cards, Microsoft Graph API i zatwierdzenie przez administratora.

Repozytorium
frootai ↗
Licencja
MIT
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
3
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
5
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Wdraża rozszerzenie Copilot dla Teams: manifest aplikacji Teams, Bot Service, SSO, Adaptive Cards, Microsoft Graph API i zatwierdzenie przez administratora.

Oryginalny opis (EN)

Deploy Copilot Teams Extension — configure Teams app manifest, Bot Service, SSO, Adaptive Cards, Microsoft Graph API, admin approval. Use when: deploy, publish, configure Teams app.

Jak działa

  1. When to Use
  2. Prerequisites
  3. Step 1: Create Teams App Project
  4. Step 2: Configure App Registration
  5. Step 3: Configure Bot Service
  6. Step 4: Design Adaptive Cards
  7. Step 5: Configure SSO
  8. Step 6: Deploy to Azure
  9. Step 7: Submit for Admin Approval
  10. Step 8: Smoke Test
Sekcje z nagłówków SKILL.md, w oryginale · 116 linii, 610 słów
Podgląd SKILL.md
---
name: deploy-copilot-teams-extension
description: "Deploy Copilot Teams Extension — configure Teams app manifest, Bot Service, SSO, Adaptive Cards, Microsoft Graph API, admin approval. Use when: deploy, publish, configure Teams app."
---

# Deploy Copilot Teams Extension

## When to Use
- Create and deploy a Teams message extension or bot
- Configure Azure Bot Service with SSO
- Set up Microsoft Graph API integration
- Design Adaptive Card templates for rich responses
- Submit for Teams admin approval and publish

## Prerequisites
1. Azure CLI authenticated: `az account show`
2. Teams Toolkit CLI: `npm install -g @microsoft/teamsapp-cli`
3. Azure AD app registration with Teams permissions
4. M365 developer tenant or production tenant with admin access
5. Node.js 18+ (Teams bot runtime)

## Step 1: Create Teams App Project
```bash
# Initialize with Teams Toolkit
teamsapp new --template ai-bot --name copilot-teams-ext
cd copilot-teams-ext
```

## Step 2: Configure App Registration
```bash
# Register app in Azure AD
az ad app create --display-name "Copilot Teams Extension" \
  --sign-in-audience AzureADMyOrg \
  --web-redirect-uris "https://token.botframework.com/.auth/web/redirect"
```

**Required Graph API Permissions** (least privilege):
| Permission | Type | Purpose |
|-----------|------|---------|
| `User.Read` | Delegated | Read user profile for personalization |
| `Files.Read.All` | Delegated | Access SharePoint docs for knowledge |
| `Chat.ReadWrite` | Delegated | Read/write in Teams conversations |
| `TeamsActivity.Send` | Application | Send proactive notifications |

## Step 3: Configure Bot Service
```bash
az bot create --resource-group $RG --name $BOT_NAME \
  --kind registration --app-type SingleTenant \
  --appid $APP_ID --tenant-id $TENANT_ID
```
- Endpoint: `https://$APP_SERVICE.azurewebsites.net/api/messages`
- Enable Teams channel in Bot Service settings

## Step 4: Design Adaptive Cards
```json
{
  "type": "AdaptiveCard",
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.5",
  "body": [
    { "type": "TextBlock", "text": "${title}", "weight": "Bolder", "size": "Medium" },
    { "type": "TextBlock", "text": "${summary}", "wrap": true },
    { "type": "FactSet", "facts": [
      { "title": "Source:", "value": "${source}" },
      { "title": "Confidence:", "value": "${confidence}" }
    ]}
  ],
  "actions": [
    { "type": "Action.OpenUrl", "title": "View Source", "url": "${sourceUrl}" },
    { "type": "Action.Submit", "title": "👍 Helpful", "data": { "feedback": "positive" } }
  ]
}
```

## Step 5: Configure SSO
- Enable SSO in Teams app manifest (`webApplicationInfo` section)
- Configure token exchange for seamless authentication
- Set `accessTokenAcceptedVersion: 2` in app registration manifest
- Test SSO flow: user opens extension → token acquired silently → Graph API accessible

## Step 6: Deploy to Azure
```bash
teamsapp deploy --env prod
# Or manual deployment
az webapp deploy --resource-group $RG --name $APP_NAME --src-path dist/
```

## Step 7: Submit for Admin Approval
```bash
# Package Teams app
teamsapp package --env prod --output-file teams-app.zip

# Upload to Teams admin center
# https://admin.teams.microsoft.com → Teams apps → Manage apps → Upload
```

## Step 8: Smoke Test
```bash
# Test in Teams
teamsapp preview --env dev
# Or install from admin center and test in Teams client
```
- [ ] Bot responds to messages in Teams
- [ ] Adaptive Cards render correctly
- [ ] SSO token acquired without user prompt
- [ ] Graph API calls returning data
- [ ] Feedback buttons working (thumbs up/down)

## Troubleshooting

| Issue | Cause | Fix |
|-------|-------|-----|
| Bot not responding in Teams | Endpoint URL wrong | Verify Bot Service endpoint matches App Service URL |
| SSO fails silently | Wrong redirect URI | Use exact `https://token.botframework.com/.auth/web/redirect` |
| Adaptive Card not rendering | Schema version mismatch | Use `version: "1.5"` for latest Teams support |
| Graph API 403 | Missing admin consent | Grant admin consent in Azure AD portal |
| Rate limited (429) | Too many Graph calls | Implement batching with `$batch` endpoint |
| Card actions not working | Missing `Action.Submit` handler | Add `onAdaptiveCardInvoke` in bot code |
| App not visible in Teams | Not published by admin | Upload to admin center, approve, publish |
Pliki w paczce (3)
  • SKILL.lean.md 4 KB
  • SKILL.md 4 KB
  • agents/openai.yaml 1 KB

Wersje

W bazie nie ma innych skilli o nazwie deploy-copilot-teams-extension.

Migawka bazy z 28.10.2026 · wersja paczki 86fea6faebbb (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100evaluate-copilot-teams-extension
    Ocenia rozszerzenie Copilot dla Teams: przepływ SSO, uprawnienia Graph API, renderowanie Adaptive Cards, jakość odpowiedzi i odporność na throttling.
  • 100tune-copilot-teams-extension
    Dostraja rozszerzenie Copilot dla Teams: układy Adaptive Cards, grupowanie zapytań Graph API, cache i koszt interakcji.
  • 100teams-expert
    Doradza w tworzeniu botów Microsoft Teams, zakładek, rozszerzeń wiadomości, kart adaptacyjnych, integracji Graph API i wdrażaniu aplikacji Teams.
  • 95teams-adaptive-cards
    Buduje, sprawdza i naprawia karty Adaptive Cards dla Microsoft Teams, także przez bota, webhook i Graph.
  • 100teams-app-developer
    Buduje, testuje i wdraża aplikacje i agentów Microsoft 365 dla Teams i Copilota: tworzenie projektu, testy lokalne, wdrożenie w chmurze, diagnostyka i migracja ze Slacka do Teams.
  • 100teams-app-manifest
    Tworzy lub sprawdza manifest aplikacji Microsoft Teams dla aplikacji Microsoft 365 Agents SDK, porównując deklaracje z kodem.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.