The message can be fully customized (title, summarytext,...) and you can optionally include a link go redirect user directly to the build/release where the message was sent from.
There is built in support in both Microsoft Teams and Visual Studio Team Services to make them work in a seamless way, this extension to be used in scenarios where the official functionality can't be used or if you want to fully customize the cards.
This extensions is not as integrated as the built-in functionality, it requires some manual configuration, but the process is very simple.
After you install the extension in your account (see Get extensions for Visual Studio Team Services to learn how to install extensions) you are ready to use the task on your build or release defintions on the account(s) you have installed the extension into.
It may take a while until the tasks are available to be used.
Configuring an Office 365 Groups/Microsoft connector webhook
Before adding tasks to your builds/releases you have to configure one (or more) Office connector Webhooks. The process is quite simple and it's fully described on Get started with Office 365 Connector Cards in Outlook and Microsoft Teams
By now you should have at least on URL for an Office connector
Copy it and save it for a later.
Rooms/Group connector webhooks URL
You can use the URL directly in a task if your are just going to use the URL once or you can create a service endpoint to be reused by more than one task (recommended path)
If you just use the URL directly in tasks, skip to the next section, otherwise keep reading.
If you wish post messages to a given group from more than one task, they you should create a service point that can be referenced in any task from the team project where the service endpoint is configured.
Open the Services tab in the project admin page
on the New Service Endpoint dropdown, select the Generic Connection and give it a meangifull name and in the Server URL enter the conector webhook URL
When you add a new step to your build or release template, you can chose the task from the Utility category, each task has a different set of purposes and parameters.
Post Message to O365 group/Microsoft Teams
Posts a message to either an Microsoft Office 365 group or a Microsoft Teams, the content of the message is customizable, you can provide a title, a summary the text, the text in the card (which can include formatting and links) and a link to the build/release detail if you want users to drill down on details.
It has the following parameters
If you find an issue, need help or have improvement suggestions you can do so by emailing [firstname.lastname@example.org](mailto:email@example.com?subject=Post Message to O365) with "Variable Tasks Pack" as a subject.