Unable to delete VHD, “There is currently a lease on the blob…”

For classic VMs, there are artifacts (metadata about the VHDs) that keep a lease on the VHD even when no VM is using it. To delete a disk or image for classic VMs, in the classic portal (https://manage.windowsazure.com/) select Virtual Machines on the left navigation pane, then select the Disks or Images tab on the right…


Troubleshooting Windows activation failures on Azure VMs

If you are experiencing Windows activation failures on an Azure VM, please try the following steps to resolve the issue. An example of an error message you may see is: Error(s):  Activating Windows(R), ServerDatacenter editionError: 0xC004F074 The Software Licensing Service reported that the computer could not be activated. No Key Management Service (KMS) could be…

1

Recovering Azure VM by attaching OS disk to another Azure VM

If you are unable to administer an Azure VM because of RDP or SSH failures, in many cases rebooting or resizing the VM may resolve the issue. You can troubleshoot the VM by attaching the OS disk as a data disk to a different Azure VM using the steps below. First make sure you have…

1

How to Monitor for Storage Account Throttling

For Azure Virtual Machines, we document storage limits of 500 IOPS per disk, and the guidance to not place more than 40 highly used VHDs in any single storage account since there is a 20,000 IOPS limit per storage account. By default, each subscription can have up to 20 storage accounts containing up to 500…

1

Event ID 2: Session "WindowsAzure-GuestAgent-Metrics" failed to start with the following error: 0xC0000035

You may notice the following error on an Azure VM in the event log under Applications and Services Logs, Microsoft, Windows, Kernel-EventTracing, Admin: Log Name: Microsoft-Windows-Kernel-EventTracing/AdminSource: Microsoft-Windows-Kernel-EventTracingEvent ID: 2Task Category: SessionLevel: ErrorKeywords: SessionUser: SYSTEMComputer: CLJul8WS08R2ADescription:Session "WindowsAzure-GuestAgent-Metrics" failed to start with the following error: 0xC0000035 This error can be safely ignored. In scenarios where you are…

0

Unable to add VM agent extension to Azure VM

[Update 7/17/2014] Azure PowerShell 0.8.5 has released which resolves the inability to use VM agent extensions if the VM is in an availability set. Links to install it via Web Platform Installer or Windows Standalone (MSI) are available on GitHub: https://github.com/Azure/azure-sdk-tools/releases When you try to add a VM agent extension such as BGInfo or VM…

0

Use port pings instead of ICMP to test Azure VM connectivity

Because the ICMP protocol is not permitted through the Azure load balancer, you will notice that you are unable to ping an Azure VM from the internet, and from within the Azure VM, you are unable to ping internet locations. Note that while this applies to network traffic going through the external IP (VIP) through…

0

How to move your Windows server VM running on Hyper-V to Microsoft Azure

  Note: This blog post comes from Manoj Sehgal, Sr. Support Escalation Engineer from Microsoft Azure team.   The following blog post will guide you through the procedure to move your on premises Windows server VM which is running in Hyper-V or VMWare environment to Microsoft Azure, by uploading its VHD.   Steps: 1.      1….

0

Install the VM Agent on an existing Azure VM

The MSI package to install the VM Agent on an existing Azure VM is now available for download: http://go.microsoft.com/fwlink/?LinkID=394789&clcid=0x409 Note that currently we recommend running the MSI from an elevated command prompt due to an issue where it may not prompt automatically for elevation. If you run it without elevating, it may hang during installation, in…

0

Enable RDP or Reset Password with the VM Agent

[UPDATE 07/17/2014] Make sure you are using version 0.8.5 or later of Azure PowerShell as there was an issue with earlier versions where you could not interact with the extensions when the VM was in an availability set. For more information, see Unable to add VM agent extension to VM. The Set-AzureVMAccessExtension cmdlet allows you to reset the built-in administrator…

0