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…


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

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…

3

Install the VM Agent on an existing Azure VM

The Windows Installer MSI package to install the VM Agent on an existing Azure VM is available for download at the following location: https://go.microsoft.com/fwlink/?LinkID=394789&clcid=0x409 The MSI must be run from an elevated command prompt. After installing the VM agent, you must also use Azure PowerShell to update the ProvisionGuestAgent property so Azure knows the VM…

8

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…

8

VM Agent available for Azure VMs

The VM agent for Windows Azure Virtual Machines is now installed by default when creating new VMs in the management portal or with Azure PowerShell (February release 0.7.3). Currently the BGInfo extension is enabled by default which displays VM information on the desktop using the BGInfo tool, and additional VM agent extensions are planned for release…

12

RDP to Azure VM fails with "No Remote Desktop License Servers available"

You can use mstsc /admin to work around the following licensing error when attempting to connect with RDP to an Azure VM: The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license. Please contact the server administrator.  Using mstsc /admin disables licensing for that connection only, so…

21

SQL Server Configuration Manager error "Invalid class [0x80041010]" on Visual Studio gallery image VM

If you are using the Visual Studio 2013 Gallery image for MSDN subscribers to create an Azure VM and try running SQL Server Configuration Manager without taking additional configuration steps first, you may see the following error message: Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that…

0

Unable to create Storage Pool in Windows Server 2012 R2 Azure VM

UPDATE Mar. 10: This issue is now resolved. The fix has been fully deployed to all Windows Azure hosts. There is no action needed within the VM itself, as the fix was on the Windows Azure hosts. We recently determined the Storage Spaces feature in Windows Server 2012 R2 is not compatible with the virtual hard drives…

14

Setting up a Passive FTP Server in Windows Azure VM

This post is authored by Lalitesh Kumar, Pradeep M G and reviewed by Avinash Venkat Reddy. Also special thanks to Adam Conkle and Craig Landis for providing the “points to consider from Azure SLB perspective”.   FTP may run in active or passive mode. Passive mode is extensively used to solve the issue of the client…

9