Accept legal terms using PowerShell to deploy ARM templates

Some ARM templates requires to accept legal terms before they can be deployed. You can find multiple of these templates within the Azure Resource Manager QuickStart Templates which are available on GitHub. This article will show you how to accept these terms using PowerShell. Prerequisites Az Azure PowerShell module Deploy without accepting the terms We… Continue reading Accept legal terms using PowerShell to deploy ARM templates

Get started with the new Azure PowerShell Az module

The Azure PowerShell Az module is released since December 2018 and is currently available in Version 1.8.0.¬† It is the intended PowerShell module for interacting with Azure because the previous AzureRM module will no longer receive new features. This article is for beginners and will show you how to install and update the Az PowerShell… Continue reading Get started with the new Azure PowerShell Az module

How to migrate Azure PowerShell from AzureRM to the new Az Module

3 days ago, Microsoft released version 1.0.0 of the new Az Module. Az is a cross-platform PowerShell module to manage resources in Azure that is compatible with both WindowsPowerShell and PowerShell Core. Why to migrate to Az? Az is written from ground up in .NET Standard which allows us to use the module in PowerShell… Continue reading How to migrate Azure PowerShell from AzureRM to the new Az Module

Configure Azure App Service IP Restrictions using PowerShell

IP Restrictions is a feature I recently start using a lot. It allows me to define a list of IP addresses that are allowed or denied to access my app service. Both IPv4 and IPv6 adresses can be used. At the moment there is no Azure CLI or PowerShell cmdlet available to set the IP… Continue reading Configure Azure App Service IP Restrictions using PowerShell

Find outdated Azure ARM QuickStart Templates on GitHub

In my previous post Determine latest API version for a resource provider I showed you how to retrieve the latest API version for a specific resource provider using the Get-AzureRmResourceProviderLatestApiVersion cmdlet. In this post I will use the cmdlet to find any outdated resource provider within an ARM template. Also, we will analyze the Azure… Continue reading Find outdated Azure ARM QuickStart Templates on GitHub

Determine latest API version for a resource provider

Azure Resource Manager templates are great to deploy one or more resources to a resource group. A mandatory part of an ARM template is the resources section which defines the resource types that are deployed or updated. Here is an example: The name of a resource type has the following format: {resource-provider}/{resource-type}. In this example… Continue reading Determine latest API version for a resource provider

Serving a HTML Page from Azure PowerShell Function

The new PowerShell language (experimental) support in Azure Function is really handy.¬†Especially if you want to use the Azure PowerShell cmdlets to retrieve any kind of Azure Resources and diplay them in a HTML page. Hosting the cmdlet in Azure Function eliminates the need of a local installed Azure PowerShell module. Here is a simple… Continue reading Serving a HTML Page from Azure PowerShell Function