Azure SignalR Service Serverless with Managed Identity and Bicep

This post describes how an Azure SignalR Service can be deployed and used through Managed Identity using Bicep. This can be used to provide SignalR capabilities to Azure Functions or WebApps even when behind Azure Frontdoor (still no Websocket support) by leveraging the serverless option of the SignalR Service.

Continue reading Azure SignalR Service Serverless with Managed Identity and Bicep

if-elseif-else in Azure Bicep

Azure Bicep supports conditional deployments making it easy to create resources depending on external factors such as the current environment. And while the official docs show a simple example with just if-statements it’s also possible to have a bit more complex scenarios with multiple chained if-else-blocks.

Continue reading if-elseif-else in Azure Bicep

Switching between Azure Functions Consumption and Premium Plans with Bicep

Azure Functions offer great flexibility with the consumption plan, being able to scale out and handle huge amounts of events while not costing anything if there’s no traffic. But sometimes you need even better performance or eliminate potential cold start times. That’s when it makes sense to switch to a Premium Plan, which can be achieved using Azure Bicep.

Continue reading Switching between Azure Functions Consumption and Premium Plans with Bicep

Azure Web App + Storage Account with Managed Identity using Bicep

Today I needed to automate a standard scenario in Azure: connecting a Web App Service (in my case ASP.NET Core) to Azure BLOB and Table Storage. The auth is being done through Managed Identites, so the Web App’s identity needs to be granted read/write access to the Storage Account using RBAC. And this should all be automated in Bicep.

Continue reading Azure Web App + Storage Account with Managed Identity using Bicep

Fix: No incoming video in Microsoft Teams

I recently set up my new Surface Laptop Studio and had an issue where I could not see other participants on video in Microsoft Teams. Took me a bit to find the solution on Google so here’s what worked for me.

The trick was to go to the Microsoft Teams Settings in the main window (not in call) and check the “Disable GPU hardware acceleration (required restarting Teams)”.

StartsWith Filter on Azure Table Storage columns in C# & JavaScript

Azure Table Storage is quite limited in the ways you can add filters to your queries. E.g. asking for all rows where PartitionKey starts with ‘abc’ is one of those cases that is not supported directly, but can be achieved with a little trick.

Continue reading StartsWith Filter on Azure Table Storage columns in C# & JavaScript

Azure Functions in TypeScript: REST CRUD with Azure Table Storage

A few years ago I published an article on how to do CRUD & REST with JavaScript-based Azure Functions against Azure Table Storage. Back then serverless was still pretty new in Microsoft Azure. Since then a lot has changed, three new runtime versions were released and the ecosystem has evolved. That old post still gets a bit of traffc though, so I thought it would be a good time to re-evaluate this topic and share some udated code samples.

Continue reading Azure Functions in TypeScript: REST CRUD with Azure Table Storage

Application Insights and Log Analytics Workspace Bicep Template

According to a message in the Azure Portal “Classic Application Insights is deprecated and will be retired in February 2024”. That means it’s time to think about how to configure Application Insights to store it’s data in a Log Analytics Workspace. You can do it manually in the Portal, but I prefer doing these things in Bicep so it can be replicated across all environments automatically.

Continue reading Application Insights and Log Analytics Workspace Bicep Template

Auto-Update UWP Apps over Azure BLOB Storage Static Websites

UWP has a very nice app update mechanism outside of the store that allows you to publish new releases to a public-facing website – and UWP taking care of the rest. And while the docs recommend Azure Web Apps for this, you can get the same results for a lot cheaper using the Static Websites feature in Azure BLOB Storage.

Continue reading Auto-Update UWP Apps over Azure BLOB Storage Static Websites