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
Community 2020-05-07: ShareGate Deploy Azure online event Before COVID-19 started to force a global shutdown everywhere, we were already thinking about this event. The long term goal? Help cloud engineers being more successful with Microsoft Azure. ShareGate
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 Native Azure REST API calls now available in Azure CLI 2.0.67+ I wrote a few PowerShell functions a couple of years ago to build a bearer token out of an active session. I needed to make calls in scripts here and
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
Azure Resource Manager Migrate your classic storage account to Azure Resource Manager using PowerShell Azure v5.0.x I've been working to convert a lot of classic resources on Azure lately, a lot of fun I assure you! Many of the scenarios I faced implied virtual
Azure Resource Manager List all App Service web apps outbound IP addresses used in a subscription If you want to perform IP whitelisting against an App Service, you'll discover that on public instances of App Service (not App Service Environment) you have 4 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
Azure Key Vault Creating Azure Key Vault with logging using Azure Resource Manager ARM templates If you are looking to create an Azure Key Vault, have full visibility/traceability over who access it and what they did while preventing accidental deletes of your vault, you
Azure Resource Manager Error when deploying App Service Plan using template, 'Required property 'name' not found in JSON. Path ''.' Just a quick article to save you the time it took me to realize what exactly was the problem in my template because the error message was not of much
PowerShell Breaking change with Get-AzureRmStorageAccountKey in AzureRM.Storage v1.1.0 - AzureRM v1.4.0 A nasty breaking change has slipped into version 1.1.0 of AzureRM.Storage which coincide with the release v1.4.0 of AzureRM module. If you use the return
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
PowerShell Azure DSC Extension error - A previous attempt to install Win8.1AndW2K12R2-KB3066437-x64.msu failed Sometimes you make stupid mistakes that cost you a lot of time and today was a day like this. The context We wanted to use a fixed version of the
PowerShell HowTo: Perform POST call to Azure REST API using Invoke-AzureRmResourceAction PowerShell command Not long ago, one of my colleagues asked me how we could automate an action that was not quite available in the Azure PowerShell cmdlets. Sure we can use Azure
Microsoft Azure How to refer an Azure Key Vault secret in an Azure Resource Manager deployment template We live in a world where data and security is not to be taken lightly. Having to create or maintain a system that enable you to keep secrets and/or
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
Azure Resource Manager I am presenting: Deployment with Azure Resource Management templates and GIT on March 3rd 2016 I am glad to present a session on March 3rd 2016 for MITPro (Montreal IT Professional Community) at the Delta Hotel in Montreal. Here is the detail of my session
Community I am giving two Azure sessions at DevTeach Montreal DevCon 2016 It's with great pleasure that I will present 2 sessions at DevTeach Montreal this year (2016) DevTeach Montreal DevCon July 4-8, 2016 http://www.devteach.com/ I will speak about ARM and automation on Azure (No surprises here!) Here is the detail
Microsoft Azure Create an Azure Key Vault using an ARM template (api version 2015-06-01) and Azure PowerShell v1.0.4 We live in a world where data and security is not to be taken lightly. Having to create or maintain a system that enable you to keep secrets and/or
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