> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# microsoft-365-teams

> Microsoft 365 Teams — read and send messages in channels and direct messages, search users

**Server path:** `/microsoft-365-teams` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                                  | Description                                                                                                        |
| ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| [`microsoft-365-teams_get_channel_list`](#microsoft-365-teams_get_channel_list)                       | List channels in a Microsoft Teams team. Accepts team name or ID.                                                  |
| [`microsoft-365-teams_get_channel_message_replies`](#microsoft-365-teams_get_channel_message_replies) | Get replies to a specific message thread in a Teams channel                                                        |
| [`microsoft-365-teams_get_channel_messages`](#microsoft-365-teams_get_channel_messages)               | Get message history from a Teams channel. Accepts team and channel names or IDs.                                   |
| [`microsoft-365-teams_get_dm_history`](#microsoft-365-teams_get_dm_history)                           | Get direct message conversation history with another Teams user. Accepts user display name, email, or AAD user ID. |
| [`microsoft-365-teams_get_my_joined_teams`](#microsoft-365-teams_get_my_joined_teams)                 | Get all Microsoft Teams that the current user is a member of                                                       |
| [`microsoft-365-teams_reply_to_channel_message`](#microsoft-365-teams_reply_to_channel_message)       | Reply to a message thread in a Teams channel                                                                       |
| [`microsoft-365-teams_search_users`](#microsoft-365-teams_search_users)                               | Search Microsoft 365 users by display name or email address                                                        |
| [`microsoft-365-teams_send_channel_message`](#microsoft-365-teams_send_channel_message)               | Post a message to a Teams channel. Accepts team and channel names or IDs.                                          |
| [`microsoft-365-teams_send_direct_message`](#microsoft-365-teams_send_direct_message)                 | Send a direct message to another Teams user. Accepts user display name, email, or AAD user ID.                     |

***

## microsoft-365-teams\_get\_channel\_list

List channels in a Microsoft Teams team. Accepts team name or ID.

**Parameters:**

| Parameter | Type   | Required | Default | Description                            |
| --------- | ------ | -------- | ------- | -------------------------------------- |
| `team`    | string | Yes      | —       | Team name or AAD team ID (UUID format) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "team": {
        "type": "string",
        "description": "Team name or AAD team ID (UUID format)"
      }
    },
    "required": [
      "PCID",
      "team"
    ]
  }
  ```
</Expandable>

***

## microsoft-365-teams\_get\_channel\_message\_replies

Get replies to a specific message thread in a Teams channel

**Parameters:**

| Parameter    | Type   | Required | Default | Description                                   |
| ------------ | ------ | -------- | ------- | --------------------------------------------- |
| `team`       | string | Yes      | —       | Team name or AAD team ID (UUID)               |
| `channel`    | string | Yes      | —       | Channel name or channel ID (contains @thread) |
| `message_id` | string | Yes      | —       | The ID of the parent message                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "team": {
        "type": "string",
        "description": "Team name or AAD team ID (UUID)"
      },
      "channel": {
        "type": "string",
        "description": "Channel name or channel ID (contains @thread)"
      },
      "message_id": {
        "type": "string",
        "description": "The ID of the parent message"
      }
    },
    "required": [
      "PCID",
      "team",
      "channel",
      "message_id"
    ]
  }
  ```
</Expandable>

***

## microsoft-365-teams\_get\_channel\_messages

Get message history from a Teams channel. Accepts team and channel names or IDs.

**Parameters:**

| Parameter | Type    | Required | Default | Description                                        |
| --------- | ------- | -------- | ------- | -------------------------------------------------- |
| `team`    | string  | Yes      | —       | Team name or AAD team ID (UUID)                    |
| `channel` | string  | Yes      | —       | Channel name or channel ID (contains @thread)      |
| `limit`   | integer | No       | —       | Maximum number of messages to return (default: 10) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "team": {
        "type": "string",
        "description": "Team name or AAD team ID (UUID)"
      },
      "channel": {
        "type": "string",
        "description": "Channel name or channel ID (contains @thread)"
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of messages to return (default: 10)"
      }
    },
    "required": [
      "PCID",
      "team",
      "channel"
    ]
  }
  ```
</Expandable>

***

## microsoft-365-teams\_get\_dm\_history

Get direct message conversation history with another Teams user. Accepts user display name, email, or AAD user ID.

**Parameters:**

| Parameter | Type    | Required | Default | Description                                             |
| --------- | ------- | -------- | ------- | ------------------------------------------------------- |
| `user`    | string  | Yes      | —       | User display name, email address, or AAD user ID (UUID) |
| `limit`   | integer | No       | —       | Maximum number of messages to return (default: 10)      |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "user": {
        "type": "string",
        "description": "User display name, email address, or AAD user ID (UUID)"
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of messages to return (default: 10)"
      }
    },
    "required": [
      "PCID",
      "user"
    ]
  }
  ```
</Expandable>

***

## microsoft-365-teams\_get\_my\_joined\_teams

Get all Microsoft Teams that the current user is a member of

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## microsoft-365-teams\_reply\_to\_channel\_message

Reply to a message thread in a Teams channel

**Parameters:**

| Parameter    | Type   | Required | Default | Description                                   |
| ------------ | ------ | -------- | ------- | --------------------------------------------- |
| `team`       | string | Yes      | —       | Team name or AAD team ID (UUID)               |
| `channel`    | string | Yes      | —       | Channel name or channel ID (contains @thread) |
| `message_id` | string | Yes      | —       | The ID of the message to reply to             |
| `message`    | string | Yes      | —       | Reply text                                    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "team": {
        "type": "string",
        "description": "Team name or AAD team ID (UUID)"
      },
      "channel": {
        "type": "string",
        "description": "Channel name or channel ID (contains @thread)"
      },
      "message_id": {
        "type": "string",
        "description": "The ID of the message to reply to"
      },
      "message": {
        "type": "string",
        "description": "Reply text"
      }
    },
    "required": [
      "PCID",
      "team",
      "channel",
      "message_id",
      "message"
    ]
  }
  ```
</Expandable>

***

## microsoft-365-teams\_search\_users

Search Microsoft 365 users by display name or email address

**Parameters:**

| Parameter | Type   | Required | Default | Description                 |
| --------- | ------ | -------- | ------- | --------------------------- |
| `query`   | string | Yes      | —       | Name or email to search for |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "query": {
        "type": "string",
        "description": "Name or email to search for"
      }
    },
    "required": [
      "PCID",
      "query"
    ]
  }
  ```
</Expandable>

***

## microsoft-365-teams\_send\_channel\_message

Post a message to a Teams channel. Accepts team and channel names or IDs.

**Parameters:**

| Parameter | Type   | Required | Default | Description                                   |
| --------- | ------ | -------- | ------- | --------------------------------------------- |
| `team`    | string | Yes      | —       | Team name or AAD team ID (UUID)               |
| `channel` | string | Yes      | —       | Channel name or channel ID (contains @thread) |
| `message` | string | Yes      | —       | Message text to send                          |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "team": {
        "type": "string",
        "description": "Team name or AAD team ID (UUID)"
      },
      "channel": {
        "type": "string",
        "description": "Channel name or channel ID (contains @thread)"
      },
      "message": {
        "type": "string",
        "description": "Message text to send"
      }
    },
    "required": [
      "PCID",
      "team",
      "channel",
      "message"
    ]
  }
  ```
</Expandable>

***

## microsoft-365-teams\_send\_direct\_message

Send a direct message to another Teams user. Accepts user display name, email, or AAD user ID.

**Parameters:**

| Parameter | Type   | Required | Default | Description                                             |
| --------- | ------ | -------- | ------- | ------------------------------------------------------- |
| `user`    | string | Yes      | —       | User display name, email address, or AAD user ID (UUID) |
| `message` | string | Yes      | —       | Message text to send                                    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "user": {
        "type": "string",
        "description": "User display name, email address, or AAD user ID (UUID)"
      },
      "message": {
        "type": "string",
        "description": "Message text to send"
      }
    },
    "required": [
      "PCID",
      "user",
      "message"
    ]
  }
  ```
</Expandable>
