Posts

Reference New Or Existing Resource In Azure Bicep

In a traditional ARM template reference function provides capability to retrieve runtime state object of a resource. This might be useful to get FQDNs, properties, managed identity info. Not surprisingly,...

Parameters In Azure Bicep - Ultimate Guide With Examples

In this post I would like to gather useful information that will help easily get started with parameters in Bicep language. Parameters in Azure Bicep are used to pass dynamic...

Use Azure PowerShell Module in Azure Functions - Quick Guide

Thanks to the PowerShell Core support in Azure Functions we can now also use PowerShell Az module in Function Apps. To make PowerShell Az module available in an Azure Function,...

Switch Case When In C# Statement And Expression

In this post we are going to take a look at a relatively new feature - when keyword in the context of switch statement and switch expression. Keyword when is...

How To Get Azure App Configuration Connection String In ARM Template

App Configuration is a service in Azure that helps manage application settings and feature flags, this could be very useful in a distributed environment. If you are using ARM templates...

Parse ARM Template JSON Outputs In Azure Pipelines

It is common to have an ARM template deployment step as part of a pipeline/release in Azure DevOps. During this step resources are created or modified and we often want...

How To RDP/SSH Into Azure VMSS VM Instances

In this post we will review how to connect to Virtual Machine Scale Set instances using RDP for Windows and SSH for Linux. We will cover the following approaches: Connecting...

Reference() Function Explained With Examples - ARM Template

In this post, we will review reference() function which often comes handy when working with ARM templates. This function allows to retrieving runtime state of a resource which contains useful...

Azure Custom Script Extension On Linux VM and VMSS

Recently, there was a post about Custom Script Extension for Windows, however, there’s a similar functionality for Linux VMs. I was interested in it and decided to write a bit...

How To Remove Certificate From Windows VM/VMSS Using Custom Script Extension

For whatever reason we may want to remove a certificate from virtual machines. It could be both Azure Virtual Machines or Virtual Machine Scale Sets, actually, the steps are similar....