Microsoft Azure Workaround for error 'utf-8' codec can't decode byte 0x82 using Azure CLI deployment and Bicep We migrated most of our automation from ARM Templates to Bicep in the recent months and things have been good so far. We ran into an issue deploying a bicep
Microsoft Azure Effective ways to delete resources in a resource group on Azure in 2021 In Azure, resource groups are very helpful to logically hold together a set of resources. For many reasons, at some point, you'll want to get rid of these
Microsoft Azure How to detect expiring certificates in Azure Application Gateway We've been on a mission lately at work to find expiring credentials and certificates in our Azure environments. One of the resources we had on our radar is
Microsoft Azure How to use Office 365 Exchange PowerShell module in Azure Automation We had to do automation around Office 365 mailboxes a couple of days ago and struggled to do it. We looked around and found the solution in a sea of
Microsoft Azure How to audit Key Vault Access Policy using Azure Resource Graph If you didn't know it yet, I am a big fan of Azure Resource Graph. It gives me the ability to quickly answer business inquiries / people showing at
Microsoft Azure How Azure Resource Graph is gonna change the way you search and script Azure Resource Graph has been announced a while ago (Ignite 2018) and I immediately understood this would be a game changer in terms of querying and data digging for the
Microsoft Azure How to audit an Azure subscription Role Based Access Control (RBAC) assignments In the last year it occurred several times that I needed to audit and validate Role Based Access Control (RBAC) assignments for an Azure subscription. Using what is available in
Microsoft Azure How to safely replace Find-AzureRmResource -ResourceType calls in Azure PowerShell 6.x+ UPDATE: 2018-06-28 - Added resourcegroup ODataFilter example. Starting with version 6.0 of Azure PowerShell, Find-AzureRmResource have been removed and Get-AzureRmResource is supposed to be the workaround. My first reflex
Microsoft Azure Prepare data disks for stability & consistency in Azure throughout virtual machines and scale sets lifecycle When dealing with Windows virtual machines from the marketplace on Azure, sometimes a CD-ROM will temporarily be present in the first moments in the lifetime of a virtual machine or
Microsoft Azure How to easily and silently obtain AccessToken (Bearer) from an existing Azure PowerShell session More than often I need to call the Azure RM REST API to perform a variety of thing. Pretty much the only way you'll find to do it
Microsoft Azure HowTo: Purge an Azure CDN endpoint using Azure PowerShell v1.x Not long ago, one of my colleagues asked me how he could automate the purge of an Azure CDN endpoint. I browsed around a bit with him and the only
Microsoft Azure Effective ways to delete resources in a resource group on Azure Under Azure Resource Manager, resource groups are very helpful to logically hold together a set of resources. For many reasons, at some point, you'll want to get rid
Microsoft Azure Best practices: How to handle sensitive data in Azure Resource Manager templates using Key Vault Have you ever wondered how you could land in the DevOps world of Config-as-Code without storing configuration secrets (e.g. passwords) as plain text in source control? In this series
Microsoft Azure How to use ARM Explorer to capture your own custom virtual machine image under Azure Resource Manager You have a v2 Azure Virtual Machine that has been generalized and are ready to capture it using ARM Explorer? All right, buckle your seat belt and follow this guide,
Microsoft Azure How to use Azure PowerShell v1.0.x to capture your own custom virtual machine image under Azure Resource Manager You have a v2 Azure Virtual Machine that has been generalized and are ready to capture it using Azure PowerShell v1.0.x? All right, buckle your seat belt and
Microsoft Azure How to use Azure PowerShell v0.9.x to capture your own custom virtual machine image under Azure Resource Manager You have a v2 Azure Virtual Machine that has been generalized and are ready to capture it using Azure PowerShell v0.9.x? All right, buckle your seat belt and
PowerShell Step by Step: How to capture your own custom virtual machine image under Azure Resource Manager The IaaS v2 resource providers (Microsoft.Compute, Microsoft.Network & Microsoft.Storage) have been around for several months now and you may have wondered how to use your own custom
Microsoft Azure How to create a virtual machine from a custom image using an ARM template Wish you could deploy your own virtual machines from a custom image (specialized or generalized) using an Azure Resource Manager template? He're is how to do it... Prerequisites
PowerShell How to create a virtual machine from a custom image using ARM and Azure PowerShell v0.9.x You love PowerShell, have a custom VM image (specialized or generalized) and you want to create a new virtual machine from it under Azure Resource Manager API? You're
DevOps How to create and deploy a development machine on Azure using Azure Resource Manager template in Visual Studio Azure Resource manager have been around for a while now and it made provisioning quite easy and convenient. A couple of persons have asked me how to create and manage