Webhooks for Azure Alerts – Creating a sample ASP.NET receiver application

Microsoft Azure recently announced support for webhooks on Azure Alerts. Now you can provide an https endpoints to receive webhooks while creating an alert in the Azure portal. Webhooks are user defined HTTP endpoints that are usually triggered by an event. Webhooks allow us to get more out of Azure Alerts. You can specify a HTTP…


Automatically flushing DNS in Azure PaaS Cloud Services Instances

I have worked on a case where because a specific reason, it was needed to Flush DNS from the PaaS Cloud Service Instances each 8 hours. And this is completely possible, however, since we are talking about PaaS Cloud Services and we already know we can’t apply manual changes since the PaaS Instances are stateless,…


Cloud Services roles recycling with the error “System.IO.FileLoadException: Could not load file or assembly”

You may be facing an issue where after a deploy, your Cloud Service role gets stuck in “starting” or “recycling” states. In this case, as the initial troubleshooting steps, we have to remote access the instance, start checking the logs and try to find out evidences about what can be causing the issue. For an…


Installing DebugDiag and importing rules thru Azure Cloud Services startup tasks

This article describes the steps for how to install DebugDiag version 2 update 1 on Cloud Services Web and Worker Roles using startup tasks. Note: In this article, the steps were applied to a Worker Role, but it also works for Web Roles. Preparing the DebugDiag installer and the configuration file with the files Download DebugDiag Debug Diagnostic…


The VM size (or combination of VM sizes) required by this deployment cannot be provisioned due to deployment request constraints

  While trying to deploy a D-Series IaaS VM (could happen for A 8/A9 IaaS VMs as well) from the Azure Portal or PowerShell you may get the following error. It could also happen if you try to deploy or re-deploy a PaaS Cloud Service after increasing the VM size in the configuration to a…

1

Not Able to Delete Storage Account – Ensure these image(s) and/or disk(s) are removed before deleting this storage account

  While deleting an Azure Storage Account you might come across the following error. Storage account portalvhds9x8ddnOgp9tn2 has some active image(s) and/or disk(s), e.g. annayakNE-annayakNE-O-201410240936090519. Ensure these image(s) and/or disk(s) are removed before deleting this storage account. SCENARIO 1 – DISKS A storage account can’t be deleted if it has VHDs that are attached as…

3

Troubleshooting Scenario – High CPU usage on PaaS Roles with the same load after a running for a few hours

  I had this interesting issue reported where the instance count would increase from 10 to 50 over the course of the month. This used to happen with the exact similar load and number of users. This was really perplexing for the customer’s Azure application developers and hence they reported the issue to Microsoft Azure…

0

Azure Service Bus AMQP Using Java SDK : Peer did not create remote endpoint for link, target: amqp_queue

  While setting up an Azure Service Bus AMQP Java project in Eclipse by following the code from How to Use JMS with AMQP 1.0 in Azure with Eclipse I continuously got the following error javax.jms.JMSException: Peer did not create remote endpoint for link, target: amqp_queue_portal at org.apache.qpid.amqp_1_0.jms.impl.MessageProducerImpl.<init>(MessageProducerImpl.java:77) at org.apache.qpid.amqp_1_0.jms.impl.SessionImpl.createProducer(SessionImpl.java:348) at org.apache.qpid.amqp_1_0.jms.impl.SessionImpl.createProducer(SessionImpl.java:63) at SimpleSenderReceiver.<init>(SimpleSenderReceiver.java:41) at…

4

Monitoring blade in the New Portal showing ‘Monitoring may not be enabled. Click here to turn on Diagnostic’ for the Azure Services

  Recently, it is noticed that Azure new Portal is not displaying the matrices data for the newly created Azure Services like Redis Cache or Azure Storage as expected. Instead of displaying the metrics data, it is showing a text message “Monitoring may not be enabled. Click here to turn on Diagnostic.”. We have noticed…