Retrieving Resource Metrics via the Azure Insights API

There are many options for configuring monitoring and alerting for Azure resources. The Azure portal will show some default metrics. It is also possible to enable more advanced or custom diagnostic settings. The links below provide additional details on enabling diagnostics and monitoring for two popular Azure compute resources, Azure Web Apps and Azure Virtual Machines. Visual…


Using Azure Policy to Deny or Audit Management Operations

The deep integration between Azure Resource Manager (ARM) and Azure Active Directory (AAD) lights up interesting security features such as role-based access control allowing fine-grained control over who can manage Azure resources. Azure Policy is a new ARM feature that supports global restrictions on the deployment and management of Azure resources. For example, Azure Policy…

0

Service Principal Authn/Authz for Azure PowerShell

Azure supports two control planes for managing Azure services: Azure Service Management (ASM) and Azure Resource Manager (ARM), which is the primary control plane going forward. ASM is supported by the production Azure Portal while ARM is supported by the preview Azure Portal.The Azure PowerShell cmdlets support both control planes with ASM cmdlets being named…

0

Using a Service Principal for Azure PowerShell Authentication

The Azure PowerShell cmdlets support two authentication techniques: AAD and self-signed X.509 certificates. AAD authentication can be used for both the classic Azure Service Management (ASM) mode and the new Azure Resource Manager (ARM) mode of the Azure cmdlets. Certificate authentication can be used only for ASM mode. Although certificate authentication is the traditional way…

0

RBAC and the Azure Resource Manager

The Azure Service Management REST API (ASM) provides the definitive way to manage Azure resources. The production Azure Portal, the Azure PowerShell cmdlets, the cross-platform CLI and the Azure Management Libraries for .NET are all built on top of the ASM. However, the ASM was initially developed more than 5 years ago and is now…

2

Authenticating Azure Service Management API with Azure AD User Credentials

There are two primary ways to authenticate against the Azure Service Management API: Azure Active Directory Management Certificate In this post, we will see how to use the a user credential to authenticate against Azure Active Directory (Azure AD) and then query the Azure Service Management API.  There are five steps to accomplish this task….


Using AAD Credentials with Azure PowerShell Cmdlets

The Azure Service Management REST API (ASM) provides an extensive set of RESTful operations that can be used to manage almost all Azure services. This API has been used since Azure went GA in 2010, although the API has been significantly extended as new services have been added to the Azure Platform. The Azure Portal…

4