Azure Function 400 Bad Request

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I was writing these articles and received this error when calling my Azure Function: Create an Azure Key Vault secret Using Managed Service Identity MSI with and Azure App Service or an Azure Function How to connect to a database from an Azure Function I narrowed it down to the request I was making to…

0

How (I) would handle a timeout in Azure Function

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I wrote this article about adding a host.json file to an Azure Function “How to add a HOST.JSON file to an Azure Function” and while I was breaking it, I saw a behavior which I didn’t expect. The behavior was that my code within the try…catch… block continued to execute after the timeout, the code…

0

How to add a HOST.JSON file to an Azure Function

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I have written numerous articles about Azure Functions, view them here.  The fact is, the HOST.JSON file is created for you when the Azure Function App is created originally/initially and it does not need to be added.  I expected to see it when I expanded the View Files for the Function, see Figure 1, but…

0

Implementing custom cultures, CultureInfo, localize Azure App Service

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

You cannot, at this moment, create a custom culture on an Azure App Service.  Cultures are part of the standard operating system and require changes to the registry to modify or add them.  An Azure App Service runs in a sandbox which does not allow code or script to modify the registry.  I do not…

0

ASP.NET Core 2.1 and HTTP Error 502.5 – Process Failure

ASP.NET Core Benjamin Perkins
ASP.NET Core Benjamin Perkins

I was deploying my ASP.NET Core 2.1 64-bit HelloWorld application and got this error, Figure 1. Figure 1, ASP.NET Core 2.1 502.5 x64 64 bit What I realized was that the 64 bit .NET Core runtime is not yet on the platform.  You can check that via KUDU/SCM and look for the D:\Program Files\dotnet directory…

0

Web Deploy ERROR_DESTINATION_NOT_REACHABLE Azure Web App

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

I was writing this article where I was testing out how to backup my App Service from the Cloud Shell using BASH.  And I got this exception when I was publishing, Figure 1. Figure 1, ERROR_DESTINATION_NOT_REACHABLE publishing using MSDEPLOY Web Deploy from visual studio Kind of makes sense that trying to publish while the site…

0

Time sync, synchronization on an Azure App Service

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

An Azure App Service is PaaS and synchronizes the clocks based on the hosting platform.  As per this request, the drift may be up to 2 seconds and are synced once per week.  That request was made some years ago when an App Service was running on Windows Server 2012 and IIS 8.  With the…

0

How to deploy to Azure using an ARM template with PowerShell

Azure PowerShell Benjamin Perkins
Azure PowerShell Benjamin Perkins

I wrote this article here “How to use/create ARM templates for deployments” where I show how I generated the ARM template for multiple Azure features existing in a Resource Group.  I then deploy all features using the ARM template using the Template deployment blade in the portal.  This article explains how to run the same…

1

How to Azure Function App with Hybrid Connection

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

On my path to create this article, I wrote numerous other along the way.  To get a overview of the project I worked on, read the following articles as well. Required parameter ‘adminPassword’ is missing (null). osDisk.managedDisk.id’ is not allowed Creating an Azure App Service Hybrid Connection How to deploy to Azure using an ARM…

0

Creating an Azure App Service Hybrid Connection

Networking Benjamin Perkins
Networking Benjamin Perkins

This is such a simple yet powerful tool to use, easy to implement and does some real hard core, complicated stuff in the back ground to get the connectivity to work.  Similar instructions can be found here “Azure App Service Hybrid Connections”. I wrote this article about connecting an Azure App Service to VM in…

0

Troubleshooting App Service Hybrid Connection Manager

Networking Benjamin Perkins
Networking Benjamin Perkins

I wrote this article “Enable logging for your Hybrid Connection Manager, troubleshooting”, but that was for the deprecated Hybrid Connection feature which uses Azure Biztalk.   You would see any ‘classic’ connections in the ‘Classic hybrid connections’ area on the Hybrid connections as seen in Figure 1. Figure 1, classic hybrid connections If you are running…

0

How to use/create ARM templates for deployments

Template Azure ARM Benjamin Perkins
Template Azure ARM Benjamin Perkins

I was building a lab for the creation of a Hybrid Connection Manager (HCM) link between an Azure App Service and an Azure VM within a VNET.  In most cases, yes, you use HCM to access resources hosted within a another network (not always on Azure), but I didn’t have one of those and therefore…

0

Required parameter ‘adminPassword’ is missing (null).

Template Azure ARM Benjamin Perkins
Template Azure ARM Benjamin Perkins

In case you have not read the article which led to this one, check it out here “How to use ARM templates for deployments”.  Once I resolved the previous 2 bumps: Deployment template validation failed: Circular dependency detected on resource osDisk.managedDisk.id’ is not allowed The final action was to provide an admin password for my…

0

osDisk.managedDisk.id’ is not allowed

Template Azure ARM Benjamin Perkins
Template Azure ARM Benjamin Perkins

I was writting this article here “How to use ARM templates for deployments” and received the result seen in Figure 1. Figure 1, failed deployment using templates azure arm When I clicked on the operations details i found the following details. I found on GitHub here “Azure managed disk: osDisk.managedDisk.id is not allowed” that doing…

0

Deployment template validation failed: Circular dependency detected on resource

Template Azure ARM Benjamin Perkins
Template Azure ARM Benjamin Perkins

I was writing this article “How to use ARM templates for deployments” and received this error when I click the purchase button from within the portal. Here is a list of some actions to take if you get this exception “Solution 5 – circular dependency detected”. I did what the articles said and simply removed…

0