Automating cleanup Entra Joined AVD hosts

This post is about automating the cleanup for Entra Joined Azure Virtual Desktop (AVD) hosts. So, what is the problem? The problem is that when you frequently deploy Entra Joined AVD hosts, they are only Entra Joined, and they already exist Entra/Intune. You get this error when running the bicep template: That error is because … Read more

Monitoring AVD with Azure Monitor

This post is about performance monitoring Azure Virtual Desktop (AVD) with Azure monitor. This features the CPU, RAM, Disk utilization, and more. The log analytics agent will be deprecated in 2024: You can check out the Microsoft docs here. This post features the manual configuration via the Azure portal and an automated configuration via Bicep … Read more

Winget Packager in Azure DevOps Pipeline

A couple of months ago a fellow MVP Stephan van Rooij wrote an application called Winget Intune, when I saw this I immediately wanted to use this as a packager in an Azure DevOps Pipeline. So, the idea is to enter a winget package ID and the application is grabbed from winget, packaged, and uploaded … Read more

Set PageFile via CustomScriptExtension and Bicep

I got inspired by a session from Ryan Mangan, who told me about the importance of the page file for an Azure Virtual Desktop VM. So, after that, I started VS Code and created automation to set the PageFile via a CustomScriptExtension and Bicep. So, this blog is about setting the PageFile via CustomScripExtension for … Read more

Use BICEP to add a new version to AzureComputeGallery

This blogpost is about how to use BICEP to add a new version of your managed image to an AzureComputeGallery. Furthermore, you can do so by using this button in the portal: But we like to automate these actions to save time and remove complexity. Prerequisites We need a managed image as a source. You … Read more

AzureDiskEncryption via Bicep

This blog post is about using the AzureDiskEncryption VM Extension for Azure via Bicep. I struggled with this for a while. Furthermore, I couldn’t find much information about this topic. So, I decided to write a blog post about it. The VM Extension is the same as, for example, the domain join VM Extension. I … Read more

Intune Backup to Storage Account Pt.2 – The Automation Account

This post is about creating an Intune backup to a storage account Pt.2. You could use this to create a daily backup or even more frequent. The clarify the above. I created a script that creates a backup from your Intune environment and uploads it to a storage account. This part is about running the … Read more

Packer YAML Azure DevOps Pipeline Pt. 2 – Azure Compute Gallery

Packer is a great tool to build images. This blog is about using YAML to build your Packer Azure DevOps Pipeline. When using YAML, it is very easy to replicate your pipeline to other Azure DevOps organizations. This post is about adding the managed image to the Azure Compute Gallery. Prerequisites You need to have … Read more

Packer YAML Azure DevOps Pipeline Pt. 1 – Create the Packer YAML Pipeline

Packer is a great tool to build images. This blog is about using YAML to build your Packer Azure DevOps Pipeline. When using YAML, it is very easy to replicate your pipeline to other Azure DevOps organizations. So, what is the architecture about? Firstly, let’s start with this high level design of a packer build: … Read more

Endpoint Manager Packaging Script Pt.3 – Create a library from packages

I created an Endpoint Manager Packaging Script (Pt.3) which downloads the installer, packages it, uploads it to Intune and assigns it. But first things first, credits to Nickolaj Andersen and his module who made it all possible. This is part 3, where we store the package for later use. We use artifacts to do so. In addition, … Read more