The Microsoft Teams plugin for InsightConnect has many different uses across all types of workflows, from triggering workflows on custom messages to managing channels, teams, and users within the tool itself. And because it’s so widely applicable (and can be a little tricky to configure at times), we wanted to create this topic as the go-to place to ask questions and share knowledge regarding the Teams plugin and its usage.
So if you have any questions regarding configuration or usage of the Microsoft Teams plugin, or if you’ve got any handy tips and tricks for it that you’d like to share with others, feel free to post here!
We also wanted to share some of our own expertise when it comes to setting up and getting the most out of this plugin, so read on for more details on Microsoft Teams connections and actions.
Connections
We have a full connection guide that details the setup of the connection for Microsoft Teams. This is a good place to start if you’re looking for an end-to-end walkthrough of the connection configuration.
Important Notes
- To configure the connection, you can start by creating a new user in Azure. This must be a non-federated user on the .onmicrosoft.com domain, and MFA must be disabled.
- The user must be provisioned a license for Microsoft Teams.
- Once this user is created, Microsoft requires a password change upon initial login. You can login at portal.office.com to update this password. Be sure to keep note of it (in a secure manner, such as a password manager) since it will be used later.
- You must also create a new App Registration at portal.azure.com. Because this can require higher levels of permissions in Azure, you may need to reach out to your IT or infrastructure teams to get assistance with this.
- Check out our walkthrough on the permissions you need to configure within this new Application. This will ensure the plugin can function correctly in InsightConnect.
Common Issues
-
AADSTS50126: Error validating credentials due to invalid username or password.
This error can indicate that the Azure user account is federated. A non-federated user account is required for this connection. -
Authentication to Microsoft Graph failed.
If you have not manually logged in to the new user account at portal.office.com to update the password, this error can occur during connection tests. Try logging in to reset the password, update the credential in InsightConnect, then rerun the connection test. - Unnecessary Application permissions. If you’ve added any permissions to the registered app outside of the ones listed in our documentation, this can cause conflicts and result in failed plugin functionality. Ensure that the configured permissions align with the ones noted in the documentation.
Keep reading down below for additional info on Microsoft Teams triggers and actions!