Approve requests for Azure AD roles in PIM

From a security perspective, organizations want to minimize the number of people who have access to secure information or resources. With Privileged Identity Management (PIM), you can give users just-in-time privileged access to Azure and Azure AD resources. Furthermore, you can assign time-bound access to resources using start and end dates and enforce an approval… Continue reading Approve requests for Azure AD roles in PIM

Accept legal terms using PowerShell to deploy ARM templates

Some ARM templates require 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

CLI

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 (it will continue to receive bug fixes until at least December 2020). This article is for beginners… 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 migrate to Az? Az is written from ground up in .NET Standard which allows us to use the module in PowerShell Core… Continue reading How to migrate Azure PowerShell from AzureRM to the new Az Module

Configure Azure App Service IP Restrictions using PowerShell

CLI

IP Restriction is a feature I recently started 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 addresses 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 the 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… 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 that defines the resource types that are deployed or updated. Here is an example: { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "resources": [ { "type": "Microsoft.Storage/storageAccounts", "name": "myuniquestorageaccountname", "apiVersion": "2016-01-01",… Continue reading Determine latest API version for a resource provider