freerangeeggs / PostToOffice365Connector

Azure DevOps Build and Release Extenstion to send a message to an Microsoft 365 connector, allowing you to notify users in Microsoft Teams and Office365 Groups.
MIT License
3 stars 3 forks source link

Poor rendering in Teams Desktop #19

Open freerangeeggs opened 1 year ago

freerangeeggs commented 1 year ago

Brought from the Q&A section in Marketplace

I have been using this for a while to post release announcements from Azure Release Pipelines to Teams. Lately it has stopped working properly on Teams Desktop and browser, but continues to work on Teams mobile.

On desktop and browser, it publishes the Title and the first line of the Message, but that's it. The second line of the Message is a URL e.g. https://dev.azure.com/myorgname/myprojectname/_build/results?buildId=$(BuildId).

On Teams mobile, it posts the full message, which can be dozens if not hundreds of lines of release notes and links.

Do you think the Teams desktop/browser client now needs me to do some escaping? It has been working fine for over a year but now when I view older Teams announcements, they also display just two lines.

The issue appears to be if you have any blank lines in your Message (in Azure DevOps configuration), the Teams desktop client or Teams browser client ends the message.