Connecting to App Service’s Kudu endpoint programmatically
I recently worked on a case where a customer wanted to programmatically connect to Kudu. I’m not well versed in XML parsing (which Azure Powershell pulls for the publish profile) so I went the route of using the Azure CLI’s az rest command to pull the JSON publish profile and extracting the username and password.
TomEE with Azure Web Apps
I’m prefacing this that I am by no means a Java Developer or have a desire to become one :). This was a case related to configuring TomEE with Azure web apps. With IIS the httpPlatformHandler dynamically assigns a port to the process its communicating with (PHP, Nodejs, DotnetCore, Java, ect). Because of this the…
PreemptSdk with Application Insights and an App Service
I wasn’t able to find any documentation on this setting so PreemptSdk I figured I’d write a quick post on it. This setting when set to 1 will ignore the SDK that’s added as a NuGet package in the application deployed as an Azure Web App and fall back to the extension that’s built into…
Azure Government Private Link Endpoints
Azure SQL privatelink.database.usgovcloudapi.net Azure Automation privatelink.azure-automation.us Azure Table privatelink.table.core.usgovcloudapi.net Azure Blob privatelink.blob.core.usgovcloudapi.net Azure Files privatelink.file.core.usgovcloudapi.net DFS Storage privatelink.dfs.core.usgovcloudapi.net App Config privatelink.azconfig.azure.us Cosmos privatelink.documents.azure.us Servicebus privatelink.servicebus.usgovcloudapi.net Key Vault privatelink.vaultcore.usgovcloudapi.net Data Factory privatelink.datafactory.azure.us EventHub (same as SB) privatelink.servicebus.usgovcloudapi.net Eventgrid privatelink.eventgrid.azure.us Azure Backup (requires storage endpoints as well) privatelink.ugv.backup.windowsazure.us Site Recovery privatelink.siterecovery.windowsazure.us Azure Search privatelink.search.azure.us FHIR privatelink.azurehealthcareapis.us Azure…
Azure Web App/Function App Authentication and Authorization References
Here’s a dump of authentication related articles and blogs for Authentication and Authorization formerly known as Easy Auth. Note its always good to read through the comments of the blogs and forum post to get helpful tidbits you may have otherwise missed. If you find another article please feel free to leave a comment and…
Accessing Graph API with an Azure Function through Impersonation
Azure functions allow developers to focus on business logic. With the addition of the built in Authentication and Authorization feature a simple application can be developed that pulls specific information about a logged in user from graph API without having to write any code that requests access tokens on behalf of the user. Background The…
Application Initialization with Azure Functions
TL/DR You can warm up a function app using an applicationhost.config transform with an appliationhost.xdt. This ONLY works with Windows as application initialization is a concept built into IIS. I’m not aware of the same feature set available in Linux. Skip to the config section for the transformation setup. Background A couple months ago I…
Application Insights Integration with Function Apps in Azure Government or other Clouds
The use of the APPLICATIONINSIGHTS_CONNECTION_STRING in Azure Functions is now built into the runtime. Note my examples are for Azure US Government cloud but this can ultimately be used in any cloud with the correct endpoints specified. ********Update 4/28/2020********The Application Insights product team updated the certificate so you can now use the following connection string…
Azure Function Trigger Reference Guide
This is a quick reference covering general topics for the most common Azure Function triggers I deal with on a weekly basis. Its by no means a conclusive list or troubleshooting guide but hopefully it can be used as quick read/refresher. Azure CosmosDB/DocumentDB Azure EventGridAzure Eventhub/Azure IoT HubAzure ServicebusAzure Storage BlobsAzure Storage QueuesHTTP Timer Azure…
ARM Template for Event Grid integration with a new Azure Function
TL/DR – Link to the template: https://github.com/jcbrooks92/EventGridAzureFunctionARMTemplate/tree/master Creating an ARM template with integration between an Azure function and Event Grid requires the general function template, Event Grid resource and lastly a system key from the Azure function that is used to authenticate the validation call from Event Grid. Update 2/12/2020There has been a recent update…