Teams Adapter
This adapter allows you to access Microsoft Teams channels and messages from SQL Server directly, and through REST commands.
This adapter requires configuring Azure AD and OAuth
This adapter is in preview; the SendMessage operation is not yet functional.
Contact Enzo support for configuration instuctions.
Configuration Settings
Name | Description | Default |
---|---|---|
Boolean _isDefault | Make this the default configuration. Defaults to true if configName is already the default. | |
String tenantId | tenantId used for authentication | |
String appId | appId used for authentication | |
String clientSecret | client secret used for authentication | |
Boolean isBeta | specify a 1 to use the Graph beta endpoints for protected endpoints | True |
Handlers
AddGroupOwner
owner |
Add an owner to a Team Group
details
Arguments
SQL Callexec Teams.AddGroupOwner 'groupId','userId' Http Call/bsc/teams/addgroupowner Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||||||||
AddMember
member |
Add member in a Team Group
details
Arguments
SQL Callexec Teams.AddMember 'test', 'userId' Http Call/bsc/teams/addmember Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||||||||
ArchiveTeam
team |
Archive a Team
details
Arguments
SQL Callexec Teams.ArchiveTeam 'teamId' Http Call/bsc/teams/archiveteam Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||||||||
CloneTeam
|
Clone an existing Team
details
Arguments
SQL Callexec Teams.CloneTeam 'teamId', 'testTeam', 'testTeam' Http Call/bsc/teams/cloneteam Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||||||||
CreateChannel
channel |
Create a Team Channel
details
Arguments
SQL Callexec Teams.CreateChannel 'teamId','test','test from enzo' Http Call/bsc/teams/createchannel Output Columns
|
||||||||||||||||||||||||||||||||||
CreateGroup
group |
Create a Team Group
details
Arguments
SQL Callexec Teams.CreateGroup 'displayname','description','mailNickName','owner1,owner2','member1,member2','public' Http Call/bsc/teams/creategroup Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||||||||
CreateTeam
team |
Create a new Team
details
Arguments
SQL Callexec Teams.CreateTeam 'groupid' Http Call/bsc/teams/createteam Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||||||||
DeleteChannel
channel |
Delete a Channel in a Team
details
Arguments
SQL Callexec Teams.DeleteChannel @teamId='teamId',@channelId='channelId' Http Call/bsc/teams/deletechannel Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||||||||
DeleteGroup
group |
Delete a Team Group
details
Arguments
SQL Callexec Teams.DeleteGroup 'groupid' Http Call/bsc/teams/deletegroup Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||||||||
GetChannel
channel |
Get a single Channel in a Team
details
Arguments
SQL Callexec Teams.GetChannel @teamId='teamId',@channelId='channelId' Http Call/bsc/teams/getchannel Output Columns
|
||||||||||||||||||||||||||||||||||
ListChannels
channel |
List channels in a Team
details
Arguments
SQL Callexec Teams.ListChannels 'teamId' Http Call/bsc/teams/listchannels Output Columns
|
||||||||||||||||||||||||||||||||||
ListGroup
group |
Returns the list of existing Team Group
details
ArgumentsSQL Callexec Teams.ListGroup Http Call/bsc/teams/listgroup Output Columns
|
||||||||||||||||||||||||||||||||||
ListInstalledApp
app |
List installed applications
details
Arguments
SQL Callexec Teams.ListInstalledApp @teamId='teamId' Http Call/bsc/teams/listinstalledapp Output Columns
|
||||||||||||||||||||||||||||||||||
ListMember
member |
Returns the list of existing group member
details
Arguments
SQL Callexec Teams.ListMember 'groupId' Http Call/bsc/teams/listmember Output Columns
|
||||||||||||||||||||||||||||||||||
ListMessages
messages |
List all channel messages
details
Arguments
SQL Callexec Teams.ListMessages @teamId='teamId',@channelId='ChannelId' Http Call/bsc/teams/listmessages Output Columns
|
||||||||||||||||||||||||||||||||||
ListOwner
owner |
Returns the list of owner of the group
details
Arguments
SQL Callexec Teams.ListOwner 'groupId' Http Call/bsc/teams/listowner Output Columns
|
||||||||||||||||||||||||||||||||||
ListTabs
tabs |
List Tabs in a channel
details
Arguments
SQL Callexec Teams.ListTabs @teamId='teamId',@channelId='channelId' Http Call/bsc/teams/listtabs Output Columns
|
||||||||||||||||||||||||||||||||||
ListTeam
team |
Returns the list of existing Teams
details
ArgumentsSQL Callexec Teams.ListTeam Http Call/bsc/teams/listteam Output Columns
|
||||||||||||||||||||||||||||||||||
ListTokens
Tokens |
Returns the list of available tokens (requires administrative access to view all tokens)
details
ArgumentsSQL Callexec Teams.ListTokens Http Call/bsc/teams/listtokens Output Columns
|
||||||||||||||||||||||||||||||||||
ListUsers
users |
Returns the list of users
details
ArgumentsSQL Callexec Teams.ListUsers 'test' Http Call/bsc/teams/listusers Output Columns
|
||||||||||||||||||||||||||||||||||
RefreshToken
|
Forces the creation of a new access token for the current logged in user
details
ArgumentsSQL Callexec Teams.RefreshToken Http Call/bsc/teams/refreshtoken Output Columns
|
||||||||||||||||||||||||||||||||||
RemoveGroupOwner
owner |
remove an owner from a Team Group
details
Arguments
SQL Callexec Teams.RemoveGroupOwner 'groupid','memberid' Http Call/bsc/teams/removegroupowner Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||||||||
RemoveMember
member |
Remove a member from a Team Group
details
Arguments
SQL Callexec Teams.RemoveMember 'groupid','memberid' Http Call/bsc/teams/removemember Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||||||||
SendMessage
send |
Send message to channel
details
Arguments
SQL Callexec Teams.SendMessage 'teamid','channelId','content' Http Call/bsc/teams/sendmessage Output Columns
|
||||||||||||||||||||||||||||||||||
UnarchiveTeam
|
Unarchive a Team
details
Arguments
SQL Callexec Teams.Unarchiveteam 'teamId' Http Call/bsc/teams/unarchiveteam Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||||||||
UpdateChannel
channel |
Update a Team Channel
details
Arguments
SQL Callexec Teams.UpdateChannel 'teamId','channelId','displayname','description' Http Call/bsc/teams/updatechannel Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||||||||
UpdateGroup
group |
Update a Team Group
details
Arguments
SQL Callexec Teams.UpdateGroup 'groupId','displayname','description','mailNickName'' Http Call/bsc/teams/updategroup Output ColumnsThis call does not return data. |