/m365:teamsfrom m365
Manages Microsoft Teams via Microsoft Graph: enumerates teams/channels, handles membership and ownership changes, online meetings, usage reporting, and troubleshoots access failures.
Ships in m365. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Microsoft Teams is the collaboration hub for most M365 customers. MSP support tasks include troubleshooting access issues, managing team membership, reviewing channel structure, and investigating meeting problems. All Teams data is accessible through Microsoft Graph.
"Team" means something different in four of the plugins an MSP has installed. Here it is a Microsoft 365 collaboration workspace backed by an Entra group:
timezest plugin (timezest-agents-and-teams).halopsa, connectwise, kaseya/autotask).m365-calendar; this skill covers the Teams objects the meeting
hangs off.m365-security.| Object | Description | API Resource |
|---|---|---|
| Team | Top-level workspace | /teams/{id} |
| Channel | Conversation thread within a team | /teams/{id}/channels/{id} |
| Member | User in a team (owner or member) | /teams/{id}/members |
| Meeting | Online meeting or channel event | /me/onlineMeetings |
| Tab | App integration in a channel | /teams/{id}/channels/{id}/tabs |
GET /v1.0/users/{userId}/joinedTeams?$select=id,displayName,description,visibility
Response:
{
"value": [
{
"id": "team-guid",
"displayName": "Engineering",
"description": "Engineering team workspace",
"visibility": "private"
}
]
}
GET /v1.0/groups?$filter=resourceProvisioningOptions/Any(x:x eq 'Team')&$select=id,displayName,description,createdDateTime,visibility
GET /v1.0/teams/{teamId}?$select=id,displayName,description,isArchived,memberSettings,guestSettings,messagingSettings
GET /v1.0/teams/{teamId}/channels?$select=id,displayName,description,membershipType,createdDateTime
Channel types:
standard — Open to all team membersprivate — Invite-only subset of team membersshared — Shared with external users or other teamsGET /v1.0/teams/{teamId}/members?$select=id,displayName,email,roles
Roles: owner or member (empty array = member)
POST /v1.0/teams/{teamId}/members
Content-Type: application/json
{
"@odata.type": "#microsoft.graph.aadUserConversationMember",
"roles": [],
"[email protected]": "https://graph.microsoft.com/v1.0/users/{userId}"
}
To add as owner: set "roles": ["owner"]
DELETE /v1.0/teams/{teamId}/members/{memberId}
POST /v1.0/teams
Content-Type: application/json
{
"[email protected]": "https://graph.microsoft.com/v1.0/teamsTemplates('standard')",
"displayName": "IT Support",
"description": "Internal IT support team",
"visibility": "private",
"members": [
{
"@odata.type": "#microsoft.graph.aadUserConversationMember",
"roles": ["owner"],
"[email protected]": "https://graph.microsoft.com/v1.0/users/{ownerUserId}"
}
]
}
POST /v1.0/teams/{teamId}/archive
Content-Type: application/json
{
"shouldSetSpoSiteReadOnlyForMembers": true
}
GET /v1.0/teams/{teamId}/channels/{channelId}/messages?$top=20&$orderby=createdDateTime desc
GET /v1.0/users/{userId}/calendar/events?$filter=start/dateTime ge '2024-01-15T00:00:00' and isOnlineMeeting eq true&$select=subject,start,end,organizer,onlineMeeting&$orderby=start/dateTime
GET /v1.0/users/{userId}/onlineMeetings/{meetingId}?$select=subject,startDateTime,endDateTime,joinUrl,participants
POST /v1.0/users/{userId}/onlineMeetings
Content-Type: application/json
{
"startDateTime": "2024-01-20T14:00:00Z",
"endDateTime": "2024-01-20T15:00:00Z",
"subject": "IT Onboarding Session"
}
/joinedTeams)GET /v1.0/groups?$filter=resourceProvisioningOptions/Any(x:x eq 'Team')&$select=id,displayName
Then for each team:
GET /v1.0/teams/{teamId}/members?$filter=roles/any(r:r eq 'owner')
Empty result = orphaned team, security risk.
List teams with external members:
GET /v1.0/teams/{teamId}/members?$filter=startsWith(email,'#EXT#')
External accounts have #EXT# in their UPN pattern.
| Symptom | Check | Resolution |
|---|---|---|
| Can't join a team | Check visibility (private requires invite) | Add via API or admin invite |
| Missing from channel | Private channel membership | Add to private channel specifically |
| Can't see messages | Guest/external user restrictions | Review guest settings in team |
| Meeting join fails | License (Teams not in SKU) | Assign Teams service plan |
| Missing in directory | Not synced from AD | Check Azure AD Connect sync |
| Task | Microsoft Graph Permission |
|---|---|
| List joined teams | Team.ReadBasic.All |
| List all tenant teams | Directory.Read.All |
| Read team members | TeamMember.Read.All |
| Add/remove members | TeamMember.ReadWrite.All |
| Create teams | Team.Create |
| Archive teams | TeamSettings.ReadWrite.All |
| Read messages | ChannelMessage.Read.All |
What SKILL.md sets; muted values are Claude Code's defaults
When enumerating or administering Teams, channels, and membership, or troubleshooting a Teams access problem. Use when: microsoft teams, m365 teams, teams channel, teams membership, teams meeting, teams access, teams troubleshoot, list teams m365, teams usage, or teams admin.
8 skills in this plugin
/api-patternsMicrosoft 365 API PatternsMicrosoft Graph fundamentals shared by every M365 skill: Entra token scopes and the per-request Bearer model, OData query operators and filter syntax, @odata.nextLink pagination, delta queries for incremental sync, 429 throttling and retry behavior, JSON batching, and the common Graph error codes.
/calendarMicrosoft 365 CalendarExchange Online calendars through Microsoft Graph: event retrieval and date-range queries, free/busy and availability lookup, meeting and Teams-meeting creation, room and equipment resource bookings, calendar permissions, and the Graph scopes and error causes involved.
/npx claudepluginhub wyre-ai/msp-claude-plugins --plugin m365Other plugins' skills for the same job