Microsoft Teams
Last updated
Last updated
A valid Microsoft 365 license assigned to the Azure Active Directory user. Refer:
Add a new Microsoft Teams OAuth2 credential
Enter a name for the credential.
Copy the OAuth Redirect URL.
Note that the following fields need to be filled in:
Authorization URL
Access Token URL
Client ID
Client Secret
Search for App registrations.
Under "Redirect URI (optional)", select "Web" and paste your "OAuth Redirect URL" you copied earlier.
After created application, navigate to Certificates & secrets > Client secrets and click on the "New client secret" button to create a client secret. Copy the secret to use later.
Navigate to Overview and click "Endpoints". Copy the endpoints for "OAuth 2.0 authorization endpoint (v2)" and "OAuth 2.0 token endpoint (v2)".
Close the Endpoints popup, copy the Application (client) ID:
Fill in all the values copied earlier. Then click "Authenticate":
A Microsoft window will pop up, select the account.
The account user must have a valid Microsoft 365 licensed
Grant the required permissions:
The pop up will automatically close, and credential will be saved afterwards.
Multiple actions can be selected to let the Agent intelligently choose the appropriate one. Parameters can be left empty to allow the Agent to determine the values on its own. However, if the user provides values, those will override the Agent's choices.
Login to your existing account or if you haven't already signed up
Next, register a new Azure application in .
It can also be used as a Tool Node in a determined workflow scenario. For example, retrieving a list of Teams messages before proceeding to the next step.
In this mode, Tool Input Arguments must be explicitly defined and filled with values.
Unlike the option, there is no Agent to automatically determine the inputs. The user must manually populate the fields, either by entering fixed values or using variables enclosed in double curly brackets {{ }}
.