Skip to content

Microsoft Teams

Microsoft Teams combines chat, meetings, and file sharing in one workspace. The Microsoft Teams integration lets a recipe create teams and channels, post messages, and manage members from activity on your WordPress site. This article covers connecting a Teams account, the actions available, and how to find a message ID.

If you have Uncanny Automator Lite, you’ll first need to connect your site to a free Uncanny Automator account, which gives you app credits to use with Microsoft Teams. On a paid plan, app integrations are included.

Before you start

The Microsoft Teams integration works only with Microsoft work or school accounts. Personal Microsoft accounts do not work, and the Automator app must be approved by an administrator of your organization. Organization setup and app access are managed in Microsoft Entra (Azure), which is outside what our help desk can support; the rules for work accounts and third-party app access are set by Microsoft.

Connect a Microsoft Teams account

Before connecting, sign in to Microsoft in your browser with the work account that has access to the teams you want to automate. The account you authorize is the one the integration uses, so signing in first avoids connecting the wrong one.

  1. In your WordPress dashboard, go to Automator > Settings > App integrations > Microsoft Teams.
  2. Click Connect Microsoft Teams account at the bottom of the panel.

The Microsoft Teams panel under Automator Settings App integrations listing the fourteen Teams actions, with the Connect Microsoft Teams account button at the bottom

  1. Sign in to Microsoft if asked. On the Microsoft page, grant all the permissions requested and click Yes. You are returned to the Microsoft Teams tab with the account connected.

Until an account is connected, the recipe builder’s picker hides Microsoft Teams while its Ready-to-use only switch is on.

Important: The exact Microsoft screens depend on how your account and organization are set up.

Actions

Once connected, these actions appear under Microsoft Teams in the picker. Click the + at the end of the recipe’s flow, select the action, fill in its Set up step, and click Save.

  • Create a team
  • Update settings for a team
  • Archive a team
  • Create a channel
  • Delete a channel from a team
  • Add a user to a team as a role
  • Remove a user from a team
  • Create a tag in a team
  • Add a user to a tag in a team
  • Send a message to a channel
  • Reply to a channel message
  • Send a direct message to a team member
  • Create a group chat
  • Create an online meeting titled a subject

Finding a message ID in Microsoft Teams

Reply to a channel message needs the ID of the message to reply to. The quickest way to get it is from the message’s share link.

  1. In Teams, hover over the message.
  2. Click the … (More actions) menu that appears, then select Copy link.
  3. Paste the link somewhere you can read it. It looks like https://teams.microsoft.com/l/message/19:abc123@thread.tacv2/1773688059439?tenantId=…
  4. The message ID is the number between the last / and the ?. In the example, it is 1773688059439.

Note: A message ID is a 13-digit Unix timestamp in milliseconds: digits only, no letters or symbols.

Related: Finding integrations in the recipe builder, Managing tokens

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top