Microsoft Teams

Learn how to use Microsoft Teams with Composio

Overview

Enum

MICROSOFT_TEAMS

Description

Connect to Microsoft Teams to manage channels.

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
stringDefaults to https://backend.composio.dev/api/v1/auth-apps/add
scopes
stringDefaults to Channel.Create,Channel.ReadBasic.All,ChannelMessage.ReadWrite,ChannelMessage.Send,ChannelSettings.ReadWrite.All,Chat.Create,Chat.Read,Chat.ReadBasic,Chat.ReadWrite,Chat.ReadWrite.All,ChatMessage.Read,ChatMessage.Send,Directory.ReadWrite.All,Group.ReadWrite.All,offline_access,People.Read.All,Presence.ReadWrite,Team.Create,Team.ReadBasic.All,TeamMember.ReadWrite.All,TeamsActivity.Read,TeamsActivity.Send,User.Read,OnlineMeetings.ReadWrite

Actions

Creates a new online meeting in microsoft teams using the microsoft graph api. this creates a standalone meeting that isn’t associated with any event on the user’s calendar.

Action Parameters

start_date_time
stringRequired
end_date_time
stringRequired
subject
stringRequired
participants
array
is_passcode_required
boolean

Action Response

data
object
successful
boolean
error

Posts a message to a channel in microsoft teams using the microsoft graph api.

Action Parameters

team_id
stringRequired
channel_id
stringRequired
content
stringRequired
content_type
stringDefaults to text

Action Response

data
object
successful
boolean
error

Posts a message to a chat in microsoft teams using the microsoft graph api.

Action Parameters

chat_id
stringRequired
content
stringRequired
content_type
stringDefaults to text

Action Response

data
object
successful
boolean
error

Retrieve a list of all chats that a user is part of in microsoft teams using the microsoft graph api.

Action Parameters

user_id
stringDefaults to me
select
array
filter
string
top
integerDefaults to 50

Action Response

data
object
successful
boolean
error

Creates a new microsoft teams chat (one-on-one or group) via ms graph. if a ‘oneonone’ chat already exists for the same 2 members, the existing chat is returned.

Action Parameters

chatType
stringRequired
topic
string
members
arrayRequired

Action Response

data
successful
boolean
error

Creates a new channel in a microsoft teams team using the microsoft graph api.

Action Parameters

team_id
stringRequired
name
stringRequired
description
string
membership_type
stringDefaults to standard

Action Response

data
object
successful
boolean
error

Posts a reply to a message in a microsoft teams channel using the microsoft graph api.

Action Parameters

team_id
stringRequired
channel_id
stringRequired
message_id
stringRequired
content
stringRequired
content_type
stringDefaults to text

Action Response

data
object
successful
boolean
error

Retrieves a list of all microsoft teams within the organization using the microsoft graph api.

Action Parameters

select
string
filter
string
top
integerDefaults to 100

Action Response

data
object
successful
boolean
error

Retrieves a list of messages from a microsoft teams chat using the microsoft graph api.

Action Parameters

chat_id
stringRequired
top
integerDefaults to 50

Action Response

data
object
successful
boolean
error

Retrieve all messages from a specific microsoft teams chat using the microsoft graph api.

Action Parameters

chat_id
stringRequired
select
array
filter
string
top
integerDefaults to 50

Action Response

data
object
successful
boolean
error

Retrieve a collection of person objects from microsoft graph people api. returns the raw json response in ‘response data’.

Action Parameters

user_id
stringDefaults to me
select
string
filter
string
orderby
string
search
string
skip
integer
top
integer

Action Response

data
object
successful
boolean
error

Retrieves a list of channels within a microsoft teams team using the microsoft graph api.

Action Parameters

team_id
stringRequired
include_shared_channels
boolean
select
string
filter
string

Action Response

data
object
successful
boolean
error

Retrieve a specific message from a microsoft teams channel using the microsoft graph api.

Action Parameters

team_id
stringRequired
channel_id
stringRequired
message_id
stringRequired

Action Response

data
object
successful
boolean
error