I do a lot on the Azure platform for testing out stuff to see how they work and although I have an MSDN subscription that comes with some free resources, that sometimes is not enough and I need to remove my spending limit for some days of the month. I must admit to having a […]
Read More →Archive for 2017
Azure App Service IP Based SSL and SNI Based SSL configuration
25-OCT-2017: If you delete an existing binding during the certificate renewal process, then you likley will get a new inbound IP address allocated. This would cause a problem with an A record DNS configuration. Therefore, to renew a certificate, upload the new certificate, noting the new thumbprint and bind that one to the App Service […]
Read More →Object reference not set to an instance of an object
Just documenting something I did today. I was receiving the error shown in Figure 1. “??? has encountered an unexpected error: The requested action could not be completed. Details: Object reference not set to an instances of an object.” Figure 1, Object reference not set to an instances of an object exception I needed to […]
Read More →Remove Auto Scaling from an Azure App Service using Azure PowerShell
I needed to remove some auto scale settings from one of my App Services using Azure PowerShell so I decided to document that here. Here are the steps: Login Set the subscription context Get the existing Auto Scale rules based on Resource Group Remove the Auto Scale rule Please keep reading for more details. Login […]
Read More →Cannot read Failed Request Log, unformatted and unreadable
I often get Failed Request Trace logs via email that when I open them I only see the data, I mean it is not nicely formatted like that shown in Figure 1, rather I see what is in Figure 2. Figure 1, nice Failed Request Trace log Figure 2, not nice Failed Request Trace log, […]
Read More →How to set Azure PowerShell to a specific Azure Subscription
If you have multiple Azure Subscriptons, when you login you get a default subscription set, so if you try and take any actions on a feature in another subscription you would get a ‘NotFound’ like error. So you need to set the correct subscription. The old (ASM) way of doing that was to use the […]
Read More →How to change an image in WPF at runtime in C#
I was doing some code that checks the number of network round trips to the database within a single transaction. I was coding it using WPF in C#. What I wanted to do was set the image in the Status Bar to a green image if the transaction took 1 trip, a yellow image if […]
Read More →How to change associate an Azure Active Directory to a Subscription
If you made it here, good work! This article is a little out dated as some of the features to achieve only exists in the AUX portal which is deprecating. Check here for most up-to-date instructions to achieve the same. I created an Azure Active Directory some time ago and found that it was not […]
Read More →How to delete an Azure App Service Plan using Azure PowerShell
#Azure #AzurePowerShell #AppService #PowerShell I wrote an article here about what an App Service Plan is. In simple terms it is the Virtual Machine that is running your web sites. It has a different name becuase the ASP can be SMALL, MEDIUM or LARGE in size or have certain features based on the modes FREE, […]
Read More →How to configure auto scaling for an Azure App Service with PowerShell
In some cases, there are features which exist on the backend REST APIs which are not yet implemented in the portal. For example, I support the Azure German Cloud as well, and at the moment you cannot configure Auto Scaling from the portal, but the PowerShell cmdlets which call the REST APIs to configure it […]
Read More →