Add a new user to my Azure Subscription

Microsoft Azure
Microsoft Azure

I wanted to add a new user to my subscription and I wanted to make that person an Owner.  This is how I did it. Create the account Grant the account access to the subscription Create the account I logged into the Azure management portal and navigated to Azure Active Directory and clicked ‘Add a…

0

How to see the cipher suites on an Azure App Service

Azure App Service
Azure App Service

I wrote an article here about TLS 1.2 which listed out the cipher suite used to negotiate security settings (encryption) between a client and server via a Network Monitor trace.  You can probably see the same using Wireshark.  Regardless, here is a nice Wiki article about cipher suites. It was a journey getting to the…

0

Create an Azure App Service Web App using PowerShell

Azure PowerShell
Azure PowerShell

There are numerous place to find this same example, but while I am ramping up my Azure PowerShell #Azure #AzurePowerShell #PowerShell skills, I though I’d go ahead and document it up so I have all this information in a single place for future reference.  While I am at it, I might as well share it…

0

Using FTPS with Azure App Services

Azure App Service
Azure App Service

Using FTPS is a very interesting area.  I read a lot about it, but can’t really ever get to the point where I finish the article and know where I need to go then.  Point is, using any form of SSL or TLS is a negotiation between a client and the server.  Most of the…

0

How to configure log4net on Azure App Service

Azure App Service
Azure App Service

Although I fully recommend using Application Insights (see here) for monitoring your Azure features, I get asked sometimes how to configure log4net onto an Azure App Service.  So, this is how I did it. Install the log4net.dll binary using NuGet Configure the log4net name, type properties in the web.config Configure the log4net properties Modify the…

0

A route named ‘*’ is already in the route collection, Azure Web App

ASP.NET
ASP.NET

I was deploying an ASP.NET Web API to an Azure App Service Web App and I got this error: Server Error in ‘/’ Application. A route named ‘HelpPage_Default’ is already in the route collection. Route names must be unique. Parameter name: name Description: An unhandled exception occurred during the execution of the current web request….

0

How to make an App Setting or Connection String sticky

Azure PowerShell
Azure PowerShell

I wrote an article here which talk about how to make an app setting or connection string sticky to the slot.  You can make the settings stick using Azure PowerShell. Here are the Azure PowerShell cmdlets required to create an Azure App Service Web App: Login-AzureRmAccount Set-AzureRmContext Set-AzureWebsite (also have a look here at the…

0

Database connection string when swapping between App Servers slots

Azure App Service
Azure App Service

Consider you have an Azure App Service Web App that handles a large amount of traffic and accesses a database, with an architecture similar to that shown in Figure 1.  When you make a deployment you would not want to take the risk of deploying bugs or having significant downtime when you deploy a new…

2

How to manually create a directory on your Azure App Service

Azure App Service
Azure App Service

There are 3 kinds of files that an Azure App Service can deal with: Persisted Files Temporary Files Machine Level read-only files What does those mean and what can they be used for? Persisted Files These files are rooted in the D:\home path.  The contents of these files are shared between all the multiple instances…

0

Azure App Service IP Based SSL and SNI Based SSL configuration

Azure App Service
Azure App Service

Sometimes you experience something and just want to share.  This is very corner case, but it threw me for a loop.  In this case there was an Azure App Service Web App that had 1 web site running on it.  This one site had 2 custom domains bound to it.  One of domains used IP…

0

Remove Auto Scaling from an Azure App Service using Azure PowerShell

Azure PowerShell
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…

0

How to set Azure PowerShell to a specific Azure Subscription

Azure PowerShell
Azure PowerShell

#Azure #AzurePowerShell #AppService #PowerShell 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…

0

How to change associate an Azure Active Directory to a Subscription

Azure Active Directory (AAD)
Azure Active Directory (AAD)

I created an Azure Active Directory some time ago and found that it was not linked to a subscription, because when I changed between my Azure Active Directory domains, as seen in Figure 1, when I tried to create some resources within it, I got the message shown in Figure 2. Figure 1, how to…

0

How to delete an Azure App Service Plan using Azure PowerShell

Azure PowerShell
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,…

0

How to configure auto scaling for an Azure App Service with PowerShell

Azure PowerShell
Azure 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…

0