Azure Template Specs

Intro

Azure Template Specs is an option for storing Azure ARM templates inside Azure to ease sharing templates across your organization. Accessing Template Specs is controlled with RBAC assignments, making Template Specs security like most other Azure resources. Template Specs deploys resources in Azure and is compatible with the tools we know already, so PowerShell, Azure CLI, Pipelines, and the Azure Portal.

To deploy from a Template Spec, a user only needs “Reader” permissions to the Template Spec, but permissions to create the resource in Azure are also required.

5 minutes to read
Martin Therkelsen
Read article

Create native Azure dashboards

Intro

Lately, I have been looking at Azure dashboards to provide a quick overview of services running in Azure. In this post, I want to show you how to create a dashboard showing the state of virtual machines, S2S VPN connections, and network peerings.

Azure Resource Graph Explorer (RGE)

The base for the dashboards in this post is RGE. I will create some queries to generate the data I want to show on my dashboard. RGE is a Kusto Query Language tool that allows you to query your Azure resource with lightning speed. You could find all the information with PowerShell or another tool, but using RGE is a lot faster. One important thing to remember is that RGE queries are case-sensitive, so check the casing if your results are not as expected. To query my VMs, I need to find which table contains information about VMs. I can see this table by going to a VM in the portal and selecting “Properties.” The portal will now show me the “Resource ID,” In that context, I can find the table name right after “/providers/.” In this case, the table I need to query will be “Microsoft.Compute/VirtualMachines.”

5 minutes to read
Martin Therkelsen
Read article

Azure DevOps Boards integration with Microsoft Teams

Intro

Building on my last article on integrating Azure DevOps into Microsoft Teams, I want to show you how to incorporate dashboards and kanban boards. The integrations can be helpful when co-workers might not be inside Azure DevOps every day but are using Teams. Some of the integration can also provide co-workers/users the ability to create bug reports without having them inside your Azure DevOps environment. This article will add two dashboards and one kanban board into a Microsoft Teams channel. Let us get started.

3 minutes to read
Martin Therkelsen
Read article

Azure DevOps pipeline integration to Microsoft Teams

Intro

I want to show how to add Azure DevOps into Microsoft Teams in this post. I will show how to add the App to Teams and integrate it with the DevOps pipeline. The integration will display any pipeline actions, and it will also post any approval action into teams. With this integration, you can delegate activities in DevOps to coworkers who are not comfortable with Azure DevOps but are very pleased with Teams. In short, let us use Teams to ease the interaction with Azure DevOps.

4 minutes to read
Martin Therkelsen
Read article

Azure DevOps - Deploy a website to Azure

Intro
In this post, I want to show you how to deploy a .Net 6.0 website to Azure using Azure DevOps. I will create a demo website in Visual Studio using the Microsoft provided templates and publish the website to Azure using a pipeline.

Workflow
The flow for the demo website is simple. I update text on the website and commit the code to an Azure DevOps repository. From Azure DevOps, I can use the repository in a pipeline to deploy the code to Azure. The workflow would be a continuous effort for a production website, so deployment can often happen with new ideas getting into production fast and effortlessly.

4 minutes to read
Martin Therkelsen
Read article

Create Azure Function with Azure DevOps Pipelines

Intro
I want to create the Azure resources needed to build Azure Functions in this post. I will guide you through the necessary bicep files to deploy a Storage Account, Application Insights, App Service Plan, and the Azure Function. You will deploy everything with code by the end of this post, including a demo function.

All code can be found on GitHub .

Workflow
As shown below, the workflow is:

  • Creating Storage Account
  • Creating Azure Application Insights
  • Creating Azure App Service Plan
  • Creating Azure Function
  • Deploying demo function to the Function App.

6 minutes to read
Martin Therkelsen
Read article