Cloud services are not available in this subscription

You recently got a permission for a given subscription on Azure and when you try to deploy a new cloud service on Visual Studio 2015 you are getting the error “Cloud Services are not available in this subscription” (Figure 1)? Let’s fix it.     This error is caused because for Azure Service Management (ASM)…

0

Cloud Services PaaS – Common scenarios for SSL certificate configuration

This article is intended to summarize a few common scenarios for SSL certificate configuration on Cloud Services PaaS. It will cover configuration of multiples certificates for HTTPS communication and certificate installation for general encrypted communication purposes.   In case you just want to install one certificate on your cloud service to enable HTTPs communication, you…

0

Using blob snapshots with PowerShell

Sometime ago, I had a customer who asked me the way to create a blob snapshot of an Azure VM. The process for create a blob snapshot was clear for the customer and you can read the next blog as a reference: https://azure.microsoft.com/en-us/documentation/articles/storage-powershell-guide-full/#how-to-manage-azure-blob-snapshots As you read in the article, you can create, list, copy and…


Azure Emulator Crash with error 0x800700b7: Cannot create a file when that file already exists

Sometimes when you are using Visual Studio and working on some Azure projects, you might hit an issue which cause your Azure emulator to crash. When that happens, you will get the System.Runtime.InteropServices.COMException (0x800700B7): Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7) You can try also manually to run the…


Understanding CPU metric data from Azure Cloud Services.

In this article we will learn how to interpret the CPU metric in both the Azure Portal as well as in the Windows Azure Diagnostic (WAD) tables and understand the differences between data in WAD tables and in Azure Portal. We have focused on the CPU as an example, but the same information can be…


Error “Access to the path ‘E:sitesrootWeb.config’ is denied” when storing Azure AD’s public key in Web.config of an Azure Cloud Services application.

I have worked on a scenario where a Web Role application which had been working fine for a long time just started throwing the error “Access to the path ‘E:\sitesroot\0\Web.config’ is denied” without any change or update to the deployment:        Looking at the error, it’s a bit clear that for some reason, the…


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…