Author: JeremyBrooks

Recently I came across a case with helping a customer configure Gitlab with Azure web app using continuous integration. App Services support Git repositories from Bitbucket, Github, and VSTS Git natively but Gitlab requires a bit more manual setup. Referenced these two helpful blogshttps://christianliebel.com/2016/05/auto-deploying-to-azure-app-services-from-gitlab/ https://teerachail.gitbooks.io/the-s-sentials/content/gitlab2appservice.html Go to the Azure portal under your web app ->…

In the past year I’ve come across a number of issues related to sending emails from web apps that work locally but when a customer is developing or deploying to an Azure Web App, the connection fails. Here are some straightforward step by step troubleshooting steps to isolate platform vs your code. 1. Are you…

Here’s some quick workarounds to access the features that may be grayed out in the Azure Portal. I’ve seen a lot of people have questions on how to get to the Log Stream specifically. You can make a request to https://appname.scm.asedomain.com/api/logstream/ and the logs will be streamed directly to your browser. It’s recommended to use…

Here’s a quick tutorial for using MSI with PowerShell in an Azure function to call Login-AzureRMAccount. Note that Functions using PowerShell are in experimental so its not recommended for production use as the same SLA for Generally Available resources doesn’t reflect to preview/experimental resources. This allows you to not have to worry about creating a…

My colleague, Sangita Bhor, was recently working on a case where we needed to automate the deployment of an Azure Function and Event Grid Subscription. The difficulty here is that there isn’t an API from functions to get the web hook needed on the Event Grid Subscription side. The script below shows you how to…

This past week I was working with a customer who wanted to check the status of a swap with an Azure Web App using TFS. One option would be to use the Swap deployment task and the other would be to query the status using PowerShell. In order to do so we query the Activity…

Update: Added the code and folder structure to GitHub: https://github.com/jcbrooks92/AzureSDKFunctionAppVMCreationAlert I was helping a customer out the other day who wanted to configure a Azure Function App to pull the private IP of a newly created Azure VM to use for their backend tasks on premises. They had setup an Azure Alert which can be…

Fourth Update 7/2018: You no longer need to use Application Gateway to front your application to be PCI 3.0 compliant. You can enable the respective TLS version you would like your app to respond to directly in the Azure Portal for your web application. Third Update: After some discussions it is probably not recommended to…

This past week I was troubleshooting an issue with Msdeploy and needed Fiddler to proxy MsDeploy. I eventually figured out how to get this working. In the msdeploy.exe.config ( “C:\Program Files\IIS\Microsoft Web Deploy V3”) add the piece that is in bold below. <configuration> <startup useLegacyV2RuntimeActivationPolicy=”true” > <supportedRuntime version=”v4.0″ sku=”.NETFramework,Version=v4.0″ /> <supportedRuntime version=”v2.0.50727″ /> </startup> <system.net>…