The Microsoft Teams connector uses Incoming Webhooks.
Microsoft Teams connectors have the following configuration properties.
Connector networking configurationedit
Use the Action configuration settings to customize connector networking configurations, such as proxies, certificates, or TLS settings. You can set configurations that apply to all your connectors or use
xpack.actions.customHostSettings to set per-host configurations.
Preconfigured connector typeedit
my-teams: name: preconfigured-teams-connector-type actionTypeId: .teams secrets: webhookUrl: 'https://outlook.office.com/webhook/abcd@0123456/IncomingWebhook/abcdefgh/ijklmnopqrstuvwxyz'
Secrets defines sensitive information for the connector type.
- A string that corresponds to Webhook URL.
Define connector in Stack Managementedit
Define Teams connector properties.
Test Teams action parameters.
Microsoft Teams actions have the following properties.
The message text, converted to the
textfield in the Webhook JSON payload. Currently only the text field is supported. Markdown, images, and other advanced formatting are not yet supported.
Configure a Microsoft Teams accountedit
You need a Microsoft Teams webhook URL to configure a Microsoft Teams action. To create a webhook URL, add the Incoming Webhook App through the Microsoft Teams console:
- Log in to teams.microsoft.com as a team administrator.
- Navigate to the Apps directory, search for and select the Incoming Webhook app.
- Choose Add to team and select a team and channel for the app.
Enter a name for your webhook and (optionally) upload a custom icon.
- Click Create.
Copy the generated webhook URL so you can paste it into your Teams connector form.