Skip to main content

Microsoft Teams Component

Manage the teams, groups, channels, and messages associated with your Microsoft Teams account

Component key: ms-teams

Description

Microsoft Teams is a business communication platform developed by Microsoft, as part of the Microsoft 365 family of products. This component allows you to easily manage teams, groups, channels, and messages inside of your Microsoft Teams account.

Connections

This authentication method may be used when an App requires granting admin consent to API permissions, in addition to authorizing the integration with the App's configured client credentials.

The Microsoft Teams component authenticates requests through the Microsoft Graph API.

Creating an App Registration

To configure OAuth 2.0 you must first create an App through Active Directory in the Microsoft Entra Admin Center or Microsoft Azure Portal.

  1. Navigate to App Registrations
  2. When creating the application you will be prompted to select Supported account types.
  3. Select Accounts in any organizational directory (Any Azure AD directory - Multitenant).
  4. Navigate to Redirect URI and add the Web platform. Now enter the redirect URI as https://oauth2.prismatic.io/callback for US based integrations.
    1. For integrations outside the US refer to this guide to find your region’s Callback URL.
  5. Select Register to complete.
  6. In the App, navigate to Certificates & Secrets and select New client secret. Copy/save the Value for use in the connection configuration of your integration (the value will not be shown again).
  7. Next, navigate to the Overview section and copy the Application (client) ID
  8. Navigate to the API Permissions section to assign the proper permissions for the integration. Select Add Permission, select all permissions that are required for your desired integration and save these values for later. A full list of scopes can be found on the Microsoft Graph API documentation
    1. Recommended scopes for Teams can be found in Microsoft Graph > Application permissions: AppCatalog.Read.All TeamsAppInstallation.Read.Group TeamsAppInstallation.ReadWriteSelfForTeam.All TeamsAppInstallation.ReadWriteForTeam.All TeamsAppInstallation.ReadWriteAndConsentForTeam.All TeamsAppInstallation.ReadWriteAndConsentSelfForTeam.All Group.ReadWrite.All Directory.ReadWrite.All ChannelSettings.Read.Group Channel.ReadBasic.All Channel.Delete.Group Channel.Create.Group ChannelSettings.ReadWrite.Group Teamwork.Migrate.All ChannelMessage.Read.Group GroupMember.Read.All Team.ReadBasic.All TeamMember.Read.Group TeamMember.ReadWrite.All TeamSettings.ReadWrite.Group Team.Create TeamSettings.Read.Group User.Read.All User.ReadWrite.All

For more information regarding authenticating against the Microsoft Graph API refer to the Microsoft documentation.

Configuring the Integration

Supply the following values to the OAuth 2.0 Admin Consent Client Credentials connection in your integration within Prismatic:

  • Client ID enter the Application (client) ID
  • Client Secret enter the Value provided (Do not use Secret ID)
  • In the Admin Consent URL https://login.microsoftonline.com/{tenant}/adminconsent, replace {tenant} with the Directory (tenant) ID from the App.
  • In the Token URL https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token?grant_type=client_credentials, replace {tenant} with the Directory (tenant) ID from the App.
  • Provide the assigned API permissions as Scopes you assigned to your App. The default value will be set to https://graph.microsoft.com/.default which will use all admin consented permissions assigned to the App.
  • If you didn't select Multitenant when creating the App, you will need to replace the Authorize URL and Token URL with ones specific to your tenant.
InputDefaultNotes
Admin Consent URL
string
/ Required
authorizeUrl
https://login.microsoftonline.com/{tenant}/adminconsent
Replace {tenant} with the directory tenant that you want to request permission from
Client ID
string
/ Required
clientId
 
Client secret value
password
/ Required
clientSecret
 
Scopes
string
/ Required
scopes
https://graph.microsoft.com/.default
Microsoft Teams permission scopes are set on the OAuth application; defaults to using `.default` to automatically use all admin consented permissions on the app
Token URL
string
/ Required
tokenUrl
https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token?grant_type=client_credentials
Replace {tenant} with the directory tenant that you want to request permission from

OAuth 2.0 Client Credentials

Begin by following the steps in Creating an App Registration.

When App is created, supply the following values to the OAuth 2.0 Client Credentials connection in your integration within Prismatic:

  • Client ID enter the Application (client) ID
  • Client Secret enter the Value provided (Do not use Secret ID)
  • If you didn't select Multitenant when creating the App, you will need to replace the Authorize URL and Token URL with ones specific to your tenant.
InputDefaultNotes
Client ID
string
/ Required
clientId
 
Client secret value
password
/ Required
clientSecret
 
Scopes
string
/ Required
Hidden Field
scopes
https://graph.microsoft.com/.default
Microsoft Teams permission scopes are set on the OAuth application; defaults to using `.default` to automatically use all admin consented permissions on the app
Token URL
string
/ Required
tokenUrl
https://login.microsoftonline.com/common/oauth2/v2.0/token
The OAuth 2.0 Token URL for Microsoft Teams

OAuth 2.0 Authorization Code

Begin by following the steps in Creating an App Registration.

Recommended API permissions for Authorization Code Authentication:

  1. Navigate to the API Permissions section. Select Add Permission, select all permissions that are required for your desired integration. A full list of scopes can be found on the Microsoft Graph API documentation.
    1. Recommended scopes for Teams can be found in Microsoft Graph > Delegated permissions: Team.ReadBasic.All Team.Create TeamMember.ReadWrite.All ChannelMessage.Read.All offline_access

When App is created, supply the following values to the OAuth 2.0 Authorization Code connection in your integration within Prismatic:

  • Client ID enter the Application (client) ID
  • Client Secret enter the Value provided (Do not use Secret ID)
  • Provide the Scopes you assigned to your Azure application permissions. The default value will match the recommended scopes. https://graph.microsoft.com/Team.ReadBasic.All https://graph.microsoft.com/Team.Create https://graph.microsoft.com/Group.ReadWrite.All https://graph.microsoft.com/TeamMember.ReadWrite.All https://graph.microsoft.com/ChannelMessage.Read.All offline_access
  • If you didn't select Multitenant when creating the App, you will need to replace the Authorize URL and Token URL with ones specific to your tenant.
InputDefaultNotes
Authorize URL
string
/ Required
authorizeUrl
https://login.microsoftonline.com/common/oauth2/v2.0/authorize
The OAuth 2.0 Authorization URL for Microsoft Teams
Client ID
string
/ Required
clientId
 
Client secret value
password
/ Required
clientSecret
 
Scopes
string
scopes
https://graph.microsoft.com/Team.ReadBasic.All https://graph.microsoft.com/Team.Create https://graph.microsoft.com/Group.ReadWrite.All https://graph.microsoft.com/TeamMember.ReadWrite.All https://graph.microsoft.com/ChannelMessage.Read.All offline_access
Microsoft Teams permission scopes are set on the OAuth application
Token URL
string
/ Required
tokenUrl
https://login.microsoftonline.com/common/oauth2/v2.0/token
The OAuth 2.0 Token URL for Microsoft Teams

Incoming Webhook

Incoming Webhooks can be used for sending adaptive cards or plain text messages to individual chats or channels.

InputNotesExample
Webhook URL
string
/ Required
webhookUrl
The Incoming Webhook URL for a Teams channel.
https://teamname.webhook.office.com/webhookb2/uuid/IncomingWebhook/uuid

Triggers

Webhook

Receive and validate webhook requests from Microsoft Teams for webhooks you configure. | key: webhook

InputDefaultNotes
Debug HMAC Verification
boolean
debugVerification
 
Failed Verification Trigger Response
code
failedResponse
 
Signing Secrets
data
/ Required
signingSecrets
Can be a single secret or a list of secrets for HMAC verification
Trigger Response
code
triggerResponse
 

{
"response": {
"statusCode": 200,
"contentType": "application/json",
"body": "{ 'text': 'test' }"
},
"payload": {
"executionId": "123123123",
"instance": {
"id": "123",
"name": "Example Instance"
},
"invokeUrl": "https://hooks.example.com/trigger/asdfasdfasdf",
"pathFragment": "",
"headers": {
"accept": "*/*",
"Content-Type": "application/json",
"Host": "hooks.example.prismatic.io"
},
"body": {
"data": {}
},
"rawBody": {
"data": {
"type": "Buffer",
"data": [
69,
120,
97,
109,
112,
108,
101
]
}
},
"queryParameters": null,
"webhookUrls": {
"Flow 1": "https://hooks.example.prismatic.io/trigger/EXAMPLEGbG93Q29uZmlnOmRlNmNmNDMyLTliNWMtN0005NDMxLTRmYzA4ZjViODgxOA=="
},
"webhookApiKeys": {
"Flow 1": [
"abc-123"
]
},
"customer": {
"id": "123",
"externalId": "customer-example-external-id",
"name": "John Doe"
}
}
}

Data Sources

Channel Names

A picklist of channel names | key: channelNames | type: picklist

InputNotesExample
Connection
connection
/ Required
connection
 
 
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f

Team Names

A picklist of team names | key: teamNames | type: picklist

InputNotesExample
Connection
connection
/ Required
connection
 
 
User Principal Name
string
userPrincipalName
Provide the principal name or ID of the user. Required for non-delegated App connections.
user@example.onmicrosoft.com

Actions

Add Team Member

Add a new member to the team | key: addMember

InputNotesExample
Connection
connection
/ Required
connection
 
 
Roles
string
Value List
roles
For each item, provide a string value containing a role you would like to assign the user.
owner
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000
User Id
string
/ Required
userId
Provide a string value for the Id of the user.
37635f8e-82d1-example-8ba4-af6e8985427f

{
"data": {
"odata.type": "#microsoft.graph.aadUserConversationMember",
"id": "4e99g7eaf-68dd-43oT-ae3f",
"roles": [
"owner"
],
"displayName": "example",
"userId": "4e99g7eaf-68dd-43oT-ae3f",
"email": "someone@example.com",
"tenantId": "4e99g7eaf-68dd-43oT-ae3f"
}
}

Archive Team

Archive the specified team | key: archiveTeam

InputNotesExample
Connection
connection
/ Required
connection
 
 
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

Create Channel

Create a channel inside a team | key: createChannel

InputDefaultNotesExample
Channel Description
string
/ Required
channelDescription
Provide a string value for the channel description.
This is an example description
Channel Name
string
/ Required
channelName
Provide a string value for the channel name.
myChannel
Connection
connection
/ Required
connection
 
 
 
Membership Type
string
/ Required
membershipType
The type of the channel. Can be set during creation and can't be changed. Possible values are: standard - Channel inherits the list of members of the parent team; private - Channel can have members that are a subset of all the members on the parent team.
 
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000
Visibility
string
/ Required
visibility
public
The visibility of the group and team. Defaults to Public.
 

Create Team

Create a new team | key: createTeam

InputDefaultNotesExample
Allow users to create/update channels
boolean
allowCreateUpdateChannels
false
This flag will give users the permission to create/update channels.
 
Allow Giphy
boolean
allowGiphy
false
This flag will enable the use of Giphy content in your team.
 
Allow users to delete messages
boolean
allowUserDeleteMessages
false
This flag will give users the permission to delete messages.
 
Allow users to edit messages
boolean
allowUserEditMessages
false
This flag will give users the permission to edit messages.
 
Channel Description
string
/ Required
channelDescription
Provide a string value for the channel description.
This is an example description
Channel Name
string
/ Required
channelName
Provide a string value for the channel name.
myChannel
Connection
connection
/ Required
connection
 
 
 
Giphy Content Rating
string
giphyContentRating
 
 
Team Description
string
/ Required
teamDescription
Provide a string value for the description.
This is an example description.
Team Name
string
/ Required
teamName
Provide a string value for the team name.
myTeam
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000
Visibility
string
/ Required
visibility
public
The visibility of the group and team. Defaults to Public.
 

Delete Channel

Delete the information and metadata of a given channel | key: deleteChannel

InputNotesExample
Channel Id
string
/ Required
channelId
Provide a string value for the channel Id
37635f8e-82d1-example-8ba4-af6e8985427f
Connection
connection
/ Required
connection
 
 
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

Delete User

Delete the information and metadata of an existing user | key: deleteUser

InputNotesExample
Connection
connection
/ Required
connection
 
 
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000
User Id
string
/ Required
userId
Provide a string value for the Id of the user.
37635f8e-82d1-example-8ba4-af6e8985427f

{
"data": {
"businessPhones": [
"+1 555 555 5555"
],
"displayName": "exampleUser",
"givenName": "exampleUser",
"jobTitle": "Retail Manager",
"mail": "someoneV@example.onmicrosoft.com",
"mobilePhone": "+1 555 555 5555",
"officeLocation": "example",
"preferredLanguage": "en-US",
"surname": "Example",
"id": "3693-4789-a1c3-f4de565f"
}
}

Get Channel

Retrieve the information and metadata of a given channel | key: getChannel

InputNotesExample
Channel Id
string
/ Required
channelId
Provide a string value for the channel Id
37635f8e-82d1-example-8ba4-af6e8985427f
Connection
connection
/ Required
connection
 
 
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

Get Current Or Existing User

Get the information and metadata of the current user or an existing user | key: getCurrentUser

InputNotesExample
Connection
connection
/ Required
connection
 
 
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000
User Principal Name
string
userPrincipalName
Provide the principal name or ID of the user. Required for non-delegated App connections.
user@example.onmicrosoft.com

{
"data": {
"businessPhones": [
"+1 555 555 5555"
],
"displayName": "exampleUser",
"givenName": "exampleUser",
"jobTitle": "Retail Manager",
"mail": "someoneV@example.onmicrosoft.com",
"mobilePhone": "+1 555 555 5555",
"officeLocation": "example",
"preferredLanguage": "en-US",
"surname": "Example",
"id": "3693-4789-a1c3-f4de565f"
}
}

Get Member

Get information or metadata about a team member | key: getMember

InputNotesExample
Connection
connection
/ Required
connection
 
 
Member
string
/ Required
memberId
Provide the identifier of a given member. This value should be a memberId.
37635f8e-82d1-example-8ba4-af6e8985427f
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

{
"data": {
"odata.type": "#microsoft.graph.aadUserConversationMember",
"id": "4e99g7eaf-68dd-43oT-ae3f",
"roles": [
"owner"
],
"displayName": "example",
"userId": "4e99g7eaf-68dd-43oT-ae3f",
"email": "someone@example.com",
"tenantId": "4e99g7eaf-68dd-43oT-ae3f"
}
}

Get Team

Get information or metadata of a team | key: getTeam

InputNotesExample
Connection
connection
/ Required
connection
 
 
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

Get User

Get the information and metadata of an existing user | key: getUser

InputNotesExample
Connection
connection
/ Required
connection
 
 
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000
User Id
string
/ Required
userId
Provide a string value for the Id of the user.
37635f8e-82d1-example-8ba4-af6e8985427f

{
"data": {
"businessPhones": [
"+1 555 555 5555"
],
"displayName": "exampleUser",
"givenName": "exampleUser",
"jobTitle": "Retail Manager",
"mail": "someoneV@example.onmicrosoft.com",
"mobilePhone": "+1 555 555 5555",
"officeLocation": "example",
"preferredLanguage": "en-US",
"surname": "Example",
"id": "3693-4789-a1c3-f4de565f"
}
}

Install App

Add an Installed App to given team | key: addInstalledApp

InputNotesExample
App ID
string
/ Required
appId
Provide the ID of the app to install.
b1c5353a-7aca-41b3-830f-27d5218fe0e5
Connection
connection
/ Required
connection
 
 
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

List Catalog Apps

Retrieve the list of apps in the catalog | key: listCatalogApps

InputNotesExample
Connection
connection
/ Required
connection
 
 
Expand
string
expand
Expand returned entities, uses the OData V4 query language.
teamsAppDefinition
Filter
string
filter
Filters results (rows), uses the OData V4 query language.
startswith(givenName,'J')
Select
string
select
Filters properties (columns), uses the OData V4 query language.
givenName,surname
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

List Channel Messages

List all of the messages in a given channel | key: listChannelMessages

InputNotesExample
Channel Id
string
/ Required
channelId
Provide a string value for the channel Id
37635f8e-82d1-example-8ba4-af6e8985427f
Connection
connection
/ Required
connection
 
 
Filter
string
filter
Filters results (rows), uses the OData V4 query language.
startswith(givenName,'J')
Order By
string
orderBy
Order results (rows), uses the OData V4 query language.
displayName desc
Search
string
search
Returns results based on search criteria.
Search For This
Select
string
select
Filters properties (columns), uses the OData V4 query language.
givenName,surname
Page Offset
string
skipToken
Provide an integer value for the page offset for the given object's results.
3
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000
Top
string
top
Provide an integer value for the maximum amount of results that will be returned. Provide a value from 1 to 1000.
20

{
"data": {
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#teams('id')/channels('id')/messages",
"@odata.count": "1",
"value": [
{
"id": "6525322568857",
"replyToId": "665253225688577",
"etag": "111111",
"messageType": "message",
"createdDateTime": "2022-05-13T05:26:08.857Z",
"lastModifiedDateTime": "2022-05-13T05:26:08.857Z",
"lastEditedDateTime": "2022-05-13T05:26:08.857Z",
"deletedDateTime": "2022-05-13T05:26:08.857Z",
"subject": "example",
"summary": "example",
"chatId": "",
"importance": "normal",
"locale": "en-us",
"webUrl": "https://teams.microsoft.com/l/message/example",
"eventDetail": "",
"from": {
"application": "example",
"device": "example",
"user": {
"id": "6525322568857",
"displayName": "example",
"userIdentityType": "aadUser"
},
"body": {
"contentType": "text",
"content": "Hello World"
}
}
}
]
}
}

List Channels

Retrieve the list of channels in a given team | key: listChannels

InputNotesExample
Connection
connection
/ Required
connection
 
 
Filter
string
filter
Filters results (rows), uses the OData V4 query language.
startswith(givenName,'J')
Select
string
select
Filters properties (columns), uses the OData V4 query language.
givenName,surname
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

{
"data": {
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#teams('id')/channels",
"@odata.count": "1",
"value": [
{
"id": "19:Qm7ZZyj4FQ-TZJMWDJYIKML19X",
"createdDateTime": "2022-05-11T05:24:49.127Z",
"displayName": "General",
"isFavoriteByDefault": false,
"email": "someone@example.com",
"webUrl": "https://teams.microsoft.com/l/channel/example-id",
"membershipType": "standard"
}
]
}
}

List Installed Apps

Retrieve the list of installed apps in a given team | key: listInstalledApps

InputNotesExample
Connection
connection
/ Required
connection
 
 
Expand
string
expand
Expand returned entities, uses the OData V4 query language.
teamsAppDefinition
Filter
string
filter
Filters results (rows), uses the OData V4 query language.
startswith(givenName,'J')
Select
string
select
Filters properties (columns), uses the OData V4 query language.
givenName,surname
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

List Joined Teams

List the teams you have joined | key: listJoinedTeams

InputNotesExample
Connection
connection
/ Required
connection
 
 
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000
User Principal Name
string
userPrincipalName
Provide the principal name or ID of the user. Required for non-delegated App connections.
user@example.onmicrosoft.com

{
"data": {
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#teams",
"@odata.count": 1,
"value": [
{
"id": "aa6fsa5ae-ed8e-4af1-aefs4-bce66f795ea5",
"createdDateTime": "",
"displayName": "Example Team",
"description": "Example Description",
"internalId": "aa6fsa5ae-ed8e-aefs4-bce66f795ea5",
"summary": "Example Summary"
}
]
}
}

List Team Members

List all the members in a team | key: listMembers

InputNotesExample
Connection
connection
/ Required
connection
 
 
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

{
"data": {
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#teams('id')/members",
"@odata.count": 1,
"value": [
{
"odata.type": "#microsoft.graph.aadUserConversationMember",
"id": "4e99g7eaf-68dd-43oT-ae3f",
"roles": [
"owner"
],
"displayName": "example",
"userId": "4e99g7eaf-68dd-43oT-ae3f",
"email": "someone@example.com",
"tenantId": "4e99g7eaf-68dd-43oT-ae3f"
}
]
}
}

List Teams

List all teams | key: listTeams

InputNotesExample
Connection
connection
/ Required
connection
 
 
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

{
"data": {
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#teams",
"@odata.count": 1,
"value": [
{
"id": "aa6fsa5ae-ed8e-4af1-aefs4-bce66f795ea5",
"createdDateTime": "",
"displayName": "Example Team",
"description": "Example Description",
"internalId": "aa6fsa5ae-ed8e-aefs4-bce66f795ea5",
"summary": "Example Summary"
}
]
}
}

List Teams Apps

List apps from the Microsoft Teams app catalog | key: listTeamsApps

InputNotesExample
Connection
connection
/ Required
connection
 
 
Filter
string
filter
Filters results (rows), uses the OData V4 query language.
startswith(givenName,'J')
Order By
string
orderBy
Order results (rows), uses the OData V4 query language.
displayName desc
Select
string
select
Filters properties (columns), uses the OData V4 query language.
givenName,surname
Page Offset
string
skipToken
Provide an integer value for the page offset for the given object's results.
3
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000
Top
string
top
Provide an integer value for the maximum amount of results that will be returned. Provide a value from 1 to 1000.
20

List User's Teams

List all teams containing the provided user | key: listUsersTeams

InputNotesExample
Connection
connection
/ Required
connection
 
 
Filter
string
filter
Filters results (rows), uses the OData V4 query language.
startswith(givenName,'J')
Order By
string
orderBy
Order results (rows), uses the OData V4 query language.
displayName desc
Search
string
search
Returns results based on search criteria.
Search For This
Select
string
select
Filters properties (columns), uses the OData V4 query language.
givenName,surname
Page Offset
string
skipToken
Provide an integer value for the page offset for the given object's results.
3
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000
Top
string
top
Provide an integer value for the maximum amount of results that will be returned. Provide a value from 1 to 1000.
20
User Id
string
/ Required
userId
Provide a string value for the Id of the user.
37635f8e-82d1-example-8ba4-af6e8985427f

List Users

List all users | key: listUsers

InputNotesExample
Connection
connection
/ Required
connection
 
 
Filter
string
filter
Filters results (rows), uses the OData V4 query language.
startswith(givenName,'J')
Order By
string
orderBy
Order results (rows), uses the OData V4 query language.
displayName desc
Search
string
search
Returns results based on search criteria.
Search For This
Select
string
select
Filters properties (columns), uses the OData V4 query language.
givenName,surname
Page Offset
string
skipToken
Provide an integer value for the page offset for the given object's results.
3
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000
Top
string
top
Provide an integer value for the maximum amount of results that will be returned. Provide a value from 1 to 1000.
20

{
"data": {
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users",
"value": [
{
"businessPhones": [
"+1 555 555 5555"
],
"displayName": "exampleUser",
"givenName": "exampleUser",
"jobTitle": "Retail Manager",
"mail": "someoneV@example.onmicrosoft.com",
"mobilePhone": "+1 555 555 5555",
"officeLocation": "example",
"preferredLanguage": "en-US",
"surname": "Example",
"id": "3693-4789-a1c3-f4de565f"
}
]
}
}

Raw Request

Send raw HTTP request to Microsoft Teams | key: rawRequest

InputDefaultNotesExample
Connection
connection
/ Required
connection
 
 
 
Data
string
data
The HTTP body payload to send to the URL.
{"exampleKey": "Example Data"}
Debug Request
boolean
debugRequest
false
Enabling this flag will log out the current request.
 
File Data
string
Key Value List
fileData
File Data to be sent as a multipart form upload.
[{key: "example.txt", value: "My File Contents"}]
Form Data
string
Key Value List
formData
The Form Data to be sent as a multipart form upload.
[{"key": "Example Key", "value": new Buffer("Hello World")}]
Header
string
Key Value List
headers
A list of headers to send with the request.
User-Agent: curl/7.64.1
Max Retry Count
string
maxRetries
0
The maximum number of retries to attempt.
 
Method
string
/ Required
method
The HTTP method to use.
 
Query Parameter
string
Key Value List
queryParams
A list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
 
Response Type
string
/ Required
responseType
json
The type of data you expect in the response. You can request json, text, or binary data.
 
Retry On All Errors
boolean
retryAllErrors
false
If true, retries on all erroneous responses regardless of type.
 
Retry Delay (ms)
string
retryDelayMS
0
The delay in milliseconds between retries.
 
Timeout
string
timeout
The maximum time that a client will await a response to its request
2000
URL
string
/ Required
url
Input the path only (/users), The base URL is already included (https://graph.microsoft.com/v1.0). For example, to connect to https://graph.microsoft.com/v1.0/users, only /users is entered in this field.
/users
Use Exponential Backoff
boolean
useExponentialBackoff
false
Specifies whether to use a pre-defined exponential backoff strategy for retries.
 

Remove Installed App

Remove an Installed App from the given team | key: removeInstalledApp

InputNotesExample
App Installation ID
string
/ Required
appInstallationId
Provide the Installation ID of the app to remove.
MjljY2Q5NTctNGEzYi00ATI4LTllYmYtZjAyNWRkMTQzMmFhIyMwZTNiZWRtYS00NzIwLTQ4YjUtOWUxMy01YTFjZTEzODdkNDU=
Connection
connection
/ Required
connection
 
 
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

Remove Team Member

Remove a user from a provided team | key: removeMember

InputNotesExample
Connection
connection
/ Required
connection
 
 
Member
string
/ Required
memberId
Provide the identifier of a given member. This value should be a memberId.
37635f8e-82d1-example-8ba4-af6e8985427f
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

Send Adaptive Card To Channel

Send an adaptive card message to a given channel | key: sendChannelAdaptiveCard

InputDefaultNotesExample
Card Payload
data
/ Required
cardPayload
Adaptive Card payload to send
 
Channel Id
string
/ Required
channelId
Provide a string value for the channel Id
37635f8e-82d1-example-8ba4-af6e8985427f
Connection
connection
/ Required
connection
 
 
 
Importance
string
importance
normal
 
 
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

Send Incoming Webhook Adaptive Card

Send an adaptive card message to an Incoming Webhook | key: sendIncomingWebhookAdaptiveCard

InputNotes
Card Payload
data
/ Required
cardPayload
Adaptive Card payload to send
Connection
connection
/ Required
connection
 

This action must use the "Incoming Webhook" connection type.

See adaptivecards.io for documentation on constructing card payloads.


Send Incoming Webhook Message

Send a text message to an Incoming Webhook | key: sendIncomingWebhookMessage

InputNotes
Connection
connection
/ Required
connection
 
Message
string
/ Required
message
Message to send to the Incoming Webhook

This action must use the "Incoming Webhook" connection type.


Send Message To Channel

Send a message to a given channel | key: sendChannelMessage

InputDefaultNotesExample
Channel Id
string
/ Required
channelId
Provide a string value for the channel Id
37635f8e-82d1-example-8ba4-af6e8985427f
Connection
connection
/ Required
connection
 
 
 
Content Type
string
contentType
text
Provide a value for the content type of the message
 
Importance
string
importance
normal
 
 
Message
string
/ Required
message
Provide a string value for the message to send.
Hello World!
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000

Update Channel

Update an existing channel inside a team | key: updateChannel

InputDefaultNotesExample
Channel Description
string
channelDescription
Provide a string value for the channel description.
This is an example description
Channel Id
string
/ Required
channelId
Provide a string value for the channel Id
37635f8e-82d1-example-8ba4-af6e8985427f
Channel Name
string
channelName
Provide a string value for the channel name.
myChannel
Connection
connection
/ Required
connection
 
 
 
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000
Visibility
string
visibility
public
The visibility of the group and team. Defaults to Public.
 

Update Team

Update an existing team | key: updateTeam

InputDefaultNotesExample
Allow users to create/update channels
boolean
allowCreateUpdateChannels
false
This flag will give users the permission to create/update channels.
 
Allow Giphy
boolean
allowGiphy
false
This flag will enable the use of Giphy content in your team.
 
Allow users to delete messages
boolean
allowUserDeleteMessages
false
This flag will give users the permission to delete messages.
 
Allow users to edit messages
boolean
allowUserEditMessages
false
This flag will give users the permission to edit messages.
 
Connection
connection
/ Required
connection
 
 
 
Giphy Content Rating
string
giphyContentRating
 
 
Team Description
string
teamDescription
Provide a string value for the description.
This is an example description.
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Team Name
string
teamName
Provide a string value for the team name.
myTeam
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000
Visibility
string
/ Required
visibility
public
The visibility of the group and team. Defaults to Public.
 

Upgrade Installed App

Upgrade an Installed App to the latest version for given team | key: upgradeInstalledApp

InputNotesExample
App Installation ID
string
/ Required
appInstallationId
Provide the Installation ID of the app to remove.
MjljY2Q5NTctNGEzYi00ATI4LTllYmYtZjAyNWRkMTQzMmFhIyMwZTNiZWRtYS00NzIwLTQ4YjUtOWUxMy01YTFjZTEzODdkNDU=
Connection
connection
/ Required
connection
 
 
Team
string
/ Required
teamId
Provide an identifier of the given team. This value should be an Id.
37635f8e-82d1-example-8ba4-af6e8985427f
Timeout
string
timeout
The maximum time a client will await a response in milliseconds (defaults to 30000ms)
30000