{"id":3387,"date":"2021-09-01T16:23:00","date_gmt":"2021-09-01T16:23:00","guid":{"rendered":"https:\/\/www.petecodes.co.uk\/?p=3387"},"modified":"2021-09-03T18:34:59","modified_gmt":"2021-09-03T18:34:59","slug":"__trashed","status":"publish","type":"post","link":"https:\/\/www.petecodes.co.uk\/__trashed\/","title":{"rendered":"Deploying an ASP.NET Blazor App to Azure using Octopus Deploy – Part 7 – Send a Notification to Microsoft Teams"},"content":{"rendered":"\n
In this series of posts we’re running through how to get Octopus Deploy<\/a> setup, along with the required Azure Services, in order to deploy an ASP.NET Blazor app to Dev, Staging and Production environments.<\/p>\n\n\n\n In the previous post we created a Release of our Blazor WebAssembly app and view the deployed Web Apps in Azure.<\/p>\n\n\n\n In this final post we’ll learn how to send Notifications of Releases to Microsoft Teams.<\/p>\n\n\n\n Part 1 – Environments and Deployment Targets<\/a> Once again, for this tutorial you’ll need the following;<\/p>\n\n\n\n Another great feature of Octopus Deploy is its ability to send notifications to other applications.<\/p>\n\n\n\n We can, for instance, send a notification to Microsoft Teams when our deployments complete.<\/p>\n\n\n\n To achieve this we need run through a couple of steps.<\/p>\n\n\n\n As a note, you’ll need a teams environment with the relvant access to complete these steps.<\/p>\n\n\n\n The first thing we need to do is configure Microsoft Teams correctly to receive a WebHook call from our Octopus Deploy instance.<\/p>\n\n\n\n If we open Microsoft Teams up, we can create ourselves a new channel to receive the notifications. We can do this by hitting the menu button next to our team name;<\/p>\n\n\n\nWhat we’re doing this time<\/h2>\n\n\n\n
Contents<\/h2>\n\n\n\n
Part 2 – Linking Azure<\/a>
Part 3 – Create Azure Web Apps + Staging and Production Deployment Targets<\/a>
Part 4 – Create and Package a Blazor WebAssembly App<\/a>
Part 5 – Octopus Deploy Projects, Variables and Processes<\/a>
Part 6 – Create a Release<\/a>
Part 7 – Send a Notification to Microsoft Teams<\/a><\/p>\n\n\n\nPrerequisites<\/h2>\n\n\n\n
Sending Notifications to Microsoft Teams<\/h2>\n\n\n\n
Setup Microsoft Teams to provide a WebHook<\/h3>\n\n\n\n