Stored Procedures
Stored procedures are function-like interfaces that extend the functionality of the cmdlet beyond simple SELECT/INSERT/UPDATE/DELETE operations with Microsoft Teams.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Microsoft Teams, along with an indication of whether the procedure succeeded or failed.
CData Cmdlets PowerShell Module for Microsoft Teams Stored Procedures
Name | Description |
ArchiveTeam | Archive the specified team. In order to archive team, the team and group must have an owner. Once archived the team information becomes readonly. |
CreateChat | Create a new chat. |
DeleteChat | Delete a chat. |
DeleteChatMessage | Delete a chat message. |
DeleteMessage | Delete a message in a channel. |
FetchAdditionalUserFields | Fetch all T1, T2, and T3 fields for a specified user. |
GetAdminConsentURL | Gets the admin consent URL that must be opened separately by an admin of a given domain to grant access to your application. Only needed when using custom OAuth credentials. |
GetAttachmentContentUrl | Get Content URl for an attachment from chat messages. |
GetOAuthAccessToken | Gets an authentication token from MSTeams. |
GetOAuthAuthorizationURL | Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the auth token from this URL. |
GetUserActivityCount | Get the number of Microsoft Teams licensed users by activity type. The activity types are number of teams chat messages, private chat messages, calls, and meetings. |
RefreshOAuthAccessToken | Refreshes the OAuth access token used for authentication with various MSTeams services. |
SendChatMessage | Send Message in the specified Chat. |
SendMessage | Send Message in the specified channel. |
ShareSchedule | Share a schedule time range with schedule members. Make the collections of draft shift and draft timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers. When a schedule is shared, for each shift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. |
UnArchiveTeam | Restore an archived team. |
UpdateChat | Update a chat. |
UpdateChatMessage | Update Chat Message in the specified chat. |
UpdateMessage | Update Message in the specified channel. |