Step-by-Step: Capturing Azure Resource Manager (ARM) VNET Gateway Diagnostic Logs

*** UPDATED for Azure PowerShell 2.x and 3.x *** A while back, I published an article that stepped through capturing diagnostic logs for v1 “Classic” virtual network gateways (aka VNET Gateways or VPN Gateways) on Azure via the Azure Service Management (ASM) API and PowerShell.  Since then, the Azure team has released Azure Resource Manager (ARM)…


Step-by-Step: Automate Building Outbound Network Security Groups Rules via Azure Resource Manager (ARM) and PowerShell

Lately, I’ve been working with several organizations that need to selectively restrict outbound Internet access from within their Azure Virtual Networks (VNETs) to conform to their own internal security policies.  However, at the same time, the applications within their VNET may need to legitimately access several other Azure services, such as Azure Storage, Azure SQL…


Quick Tip: Using Azure PowerShell with Web Proxy and Fiddler

Does your organization use a web proxy server for securing outbound Internet access? Do you use third-party tools, such as Fiddler, that rely on HTTP/HTTPS proxying? If you’ve answered yes! to either of these questions, you’ll find that you’ll likely need to make a couple quick tweaks to your Azure PowerShell scripts for successful connectivity…


7 Steps to Building Site-to-Site VPN Connections for V2 VNETs using Azure Resource Manager in the NEW Azure Portal

In a prior article, we walked through the process of scripted provisioning for V2 virtual networks and site-to-site connections using Azure Resource Manager (ARM) and Azure PowerShell together.  Recently, a UI create experience was surfaced in the NEW Azure Portal to make it even easier to provision these scenarios directly from the portal. In this…


Step-by-Step: User-Defined Routing in the Cloud with Azure Resource Manager and Azure PowerShell 1.0 Preview

Custom IP routing topologies on Azure Virtual Networks have been available for several months via native User-Defined Routing (UDR) and IP Forwarding features.  However, recently I’ve been receiving questions on how to configure IP forwarding and user-defined routes via the new Azure Resource Manager (ARM) API.  In this article, we’ll step through a set of PowerShell…


Step-by-Step: Managing Azure Resources with Azure Resource Manager (ARM) and PowerShell

In the past few articles, we’ve been focusing on provisioning end-to-end IaaS environments on the Microsoft Azure cloud platform using the new Azure Resource Manager API and PowerShell.  In this article, we’ll be looking at several ways to manage these environments post-provisioning using some of the new capabilities, such as Resource Groups and Tags, that…


HOW-TO: Building V2 VNET-to-VNET Connections with Azure Resource Manager and PowerShell in 5 Steps

As a follow-up to my original End-to-End IaaS scenario using Azure Resource Manager (ARM), PowerShell and DSC, this article expands our configuration to include a VNET-to-VNET connection between Azure Virtual Networks provisioned via the new v2 ARM stack. VNET-to-VNET connections are useful for peering individual VNETs that may exist in separate Azure datacenter regions or…


18 Steps for End-to-End IaaS Provisioning in the Cloud with Azure Resource Manager (ARM), PowerShell and Desired State Configuration (DSC)

Support for provisioning and managing Azure IaaS virtual machine environments via Azure Resource Manager (ARM) was recently launched as a Generally Available (GA) feature! There’s several HUGE advantages that ARM provides over the existing Azure Service Management (ASM) API, including simplifying complex configurations, repeatable deployments via declarative templates, resource tagging, role-based access control (RBAC) and…


Automating Azure Autoscale Rules via PowerShell and REST API

In recent articles, we've walked through automated provisioning for an Azure VM environment using Azure Automation and PowerShell DSC.  We've also explored leveraging the Azure Cross-Platform CLI for automated provisioning of Linux workloads on Azure.  After provisioning our workloads, we've even automated the configuration of ongoing health monitoring and alerting. What's next? Let's automate the…


Leveraging the Azure Service Management REST API with Azure Active Directory and PowerShell / List Azure Administrators

The Azure Service Management REST API can be a great compliment to the Azure PowerShell module when automating certain Azure cloud tasks for which there's not yet a defined set of PowerShell cmdlets.  In previous articles, we've leveraged this API for specific scenarios, such as: Configuring health monitoring alert rules for Azure VMs Listing current…