teams
Skill2 starsChanged 3 months agoMITView on GitHub
Use this skill for Microsoft Teams channel and membership retrieval through Microsoft Graph with automatic pagination.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- sergeiwallace/skillstheir own version, first seen Nov 8, 2026
- bftelman/skillstheir own version, first seen Nov 4, 2026
- phnx-labs/agi-clitheir own version, first seen Oct 26, 2026
- phnx-labs/.agentstheir own version, first seen Oct 11, 2026
- ai-ecoverse/skillstheir own version, first seen Oct 2, 2026
- Deibler/edmund-harnesstheir own version, first seen Sep 4, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- phnx-labs/agi-cli★ 26same name
- Deibler/edmund-harness★ 24same name
- bftelman/skills★ 2same name
- tomc98/claude-skill-teams★ 2same name
- ai-ecoverse/skills★ 1same name
- phnx-labs/.agents★ 1same name
- sergeiwallace/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- agents.mdAGENTS.md
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- azureSkill
- copilotstudioSkill
- dataverseSkill
- graphSkill
- intuneSkill
- loganalyticsSkill
- powerplatformSkill
- sentinelSkill
- sharepoint-onlineSkill
- vm-guest-managementSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Use this skill for Teams channel and membership reads that are exposed through Microsoft Graph.
- Distinctive: line 67
Avoid client secret auth in production when managed identity or federated credentials are possible.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Microsoft Teams Skill
Agent Summary
Use this skill for Teams channel and membership reads that are exposed through Microsoft Graph. Authenticate with ./skills/graph/Connect-GraphApi.ps1, then use the Teams wrappers for team channels, team members, or channel members.
When to Use
- List channels for a team.
- Retrieve one channel by ID.
- List team members or private/shared channel members.
Required Parameters
Get-TeamsChannel.ps1
| Parameter | Type | Required | Notes |
TeamId | string | Yes | Microsoft Teams team identifier. |
AuthContext | hashtable | Yes | Graph auth context from Connect-GraphApi.ps1. |
ChannelId | string | No | Retrieve a single channel instead of listing. |
Get-TeamsMember.ps1
| Parameter | Type | Required | Notes |
TeamId | string | Yes | Microsoft Teams team identifier. |
AuthContext | hashtable | Yes | Graph auth context from Connect-GraphApi.ps1. |
ChannelId | string | No | When present, retrieves channel-specific members. |
Invoke-TeamsGraphRequest.ps1
| Parameter | Type | Required | Notes |
Uri | string | Yes | Teams-relative path or absolute Graph nextLink URL. |
AuthContext | hashtable | Yes | Graph auth context. |
Method | string | No | Defaults to GET. |
Body | object | No | Request payload for writes. |
Example Agent Prompts
- "List all channels in this Microsoft Team."
- "Get all members of a private Teams channel."
- "Call the Teams Graph endpoint directly for a team membership query."
Example Agent Workflow
$ctx = ./skills/graph/Connect-GraphApi.ps1 -AuthenticationType ManagedIdentity -Environment AzureCloud
$channels = ./skills/teams/Get-TeamsChannel.ps1 -TeamId $teamId -AuthContext $ctxSecurity Caveats
- Teams APIs are Graph APIs, so limit Graph application permissions to the smallest set possible.
- Some membership operations are valid only for private or shared channels; standard channels inherit team membership.
- Avoid client secret auth in production when managed identity or federated credentials are possible.
Overview
This skill automates Microsoft Teams channel and membership retrieval using Microsoft Graph. It wraps Teams-specific Graph paths and automatically follows Graph pagination.
Authentication
- Graph v1.0 token
- App-only with application permissions
- Group.ReadWrite.All often required
Endpoints
Uses Graph endpoint from environment (see Environment Endpoints doc).
Skills
| File | Purpose |
| Get-TeamsChannel.ps1 | Gets channel details for a team, or lists all channels for a team. |
| Get-TeamsMember.ps1 | Gets team members, or channel members for a specific channel. |
| Invoke-TeamsGraphRequest.ps1 | Invokes Teams Graph requests (relative Teams paths) and follows @odata.nextLink pagination. |
Toolchain
| Service | Tool | Best For | Graph Version | Limitations |
| Teams | Microsoft.Graph SDK (Get-MgTeam, Get-MgTeamChannel) | Team/channel lifecycle, messages, tabs, apps | v1.0 | Large module footprint; some operations require Group.ReadWrite.All |
| Teams | Raw REST (Invoke-MgGraphRequest) | Direct control over Teams endpoints | v1.0 / beta | Caller must handle pagination and throttling |
| Teams | PnP CLI (m365 teams) | Cross-platform Teams admin scripting | v1.0 | Community-driven; no Microsoft SLA |
Patterns & Caveats
- Teams operations are Graph operations
- beta only for preview features
- Pagination via @odata.nextLink
Examples
- List all channels in a team (GET
/teams/{team-id}/channels):
$authContext = ./skills/graph/Connect-GraphApi.ps1 -AuthenticationType ManagedIdentity -Environment AzureCloud
./skills/teams/Get-TeamsChannel.ps1 -TeamId $teamId -AuthContext $authContext- Get a specific channel within a team (GET
/teams/{team-id}/channels/{channel-id}):
$authContext = ./skills/graph/Connect-GraphApi.ps1 -AuthenticationType ManagedIdentity -Environment AzureCloud
./skills/teams/Get-TeamsChannel.ps1 -TeamId $teamId -ChannelId $channelId -AuthContext $authContext- List channel members for a private or shared channel (GET
/teams/{team-id}/channels/{channel-id}/members):
$authContext = ./skills/graph/Connect-GraphApi.ps1 -AuthenticationType ManagedIdentity -Environment AzureCloud
./skills/teams/Get-TeamsMember.ps1 -TeamId $teamId -ChannelId $channelId -AuthContext $authContextPrerequisites
- Required modules:
- Microsoft Graph authentication and session management modules (installed by
prerequisites/Install-RequiredModules.ps1)
- Microsoft Graph authentication and session management modules (installed by
- Required permissions:
- Microsoft Graph application permissions for Teams operations, typically
Group.ReadWrite.All
- Microsoft Graph application permissions for Teams operations, typically
Related Docs
- Auth Patterns
- Token Chaining
- Environment Endpoints
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

