The author was tasked with setting up a CI/CD process for a Blazor application using JetBrains Space. They had experience with other tools like Azure DevOps and GitHub Actions but found implementing pipelines in Space challenging. They struggled with creating the necessary automation scripts and host parameters. Despite good documentation, they found the CI/CD features lacking in predefined steps and tasks for standard cases, leading to unnecessary effort. They were also concerned about the exposure of project-wide secrets as plain text in runtime parameters.
[HOWTO] Automate Terraform execution in Azure DevOps YAML pipeline
The blog post explains the preferred setup for infrastructure deployments using Infrastructure as Code (IaC) with Terraform and Azure DevOps YAML pipelines. The author discusses the organization of service connections and security settings, and provides an in-depth look at the pipeline structure and tasks within each stage. The text also mentions an important update regarding Azure Pipelines Terraform tasks and offers a practical approach on pipeline re-runs after local fixes.
[NoBrainer] Azure Monitor Metric Alerts for Azure Functions
The Azure webhook consumer/receiver failed to receive any events apart from heartbeat events due to an error during the webhook's update. The issue, which originated from the event filter altering from a wildcard to [], was fixed by an event filter update. To prevent similar issues, an Azure Monitor Metric Alert was established. It signals less than seven executions of the Azure Function per hour and emails the Azure Resource Manager (ARM) role members on each alert,
Microsoft Entra ID guest user invitation succeeds but user is not created
During a penetration test preparation, an issue arose where multiple test accounts couldn't be invited as guest users to Microsoft Entra ID. The problem was due to all emails being redirected to one address. The takeaway is to ensure that the email addresses invited are not redirections to an existing user account.
[HOWTO] Configure Azure App Service authentication and App Registration for an application deployed by Azure OpenAI Studio
A colleague at work is currently working on a prototype for Azure OpenAI Services integration. He deployed the prototype application directly from Azure OpenAI Studio to an Azure App Service. When he tried to access the application for the first time, he received the following error message. Authentication Not ConfiguredThis app does not have authentication... Continue Reading →
[NoBrainer] Ensure that Azure Monitor alert email notifications are delivered
When working with Azure Monitor alerts that trigger email notifications, there is a tiny little detail to consider to make sure the email notifications get delivered as expected. But let's first have a look at the setup of an Azure Monitor alert. In my case, I set up an Azure Monitor metric alert and action... Continue Reading →
[NoBrainer] Get rid of issuer and MFA exceptions when working with Visual Studio Credential in local development environment
Lately I nearly got crazy when working with Visual Studio Credential in ASP.NET Web API project. For Test, Int and Prod environments I usually use Managed Identity and for local development I prefer using Visual Studio Credential for i.e. accessing Azure Key Vault or Azure Storage Account services. In this example, access key authentication is... Continue Reading →
[HOWTO] Move Terraform state from an Azure Blob Storage container to another
As already stated in the title, this blog post shows a simple way to move Terraform state between Azure Blob Storage containers. Terraform version: Terraform v1.3.7Azure Storage Account kind: StorageV2 (general purpose v2) To perform the move, proceed as follows: Execute terraform init with the actual terraform backend configuration Execute terraform apply with the actual... Continue Reading →
[HOWTO] Handle AAD B2C Password Reset for Legacy Sign up and Sign in User Flow
In case you have an Azure Active Directory B2C (AAD B2C) with a user flow of type Sign up and sign in (Preview v2 legacy), self-service password reset experience can not be enabled on the user flow. Regardless of this, the Forgot your password? option is shown to the users by the login screen: But... Continue Reading →
[NoBrainer] Deploy a Spring Boot Application to an Azure App Service
After my technology switch from Java to C#/.NET about seven years ago, I still tried to stay in touch with Java and spring - at least a little bit. Back in 2015 I therefore started implementing a small spring boot based web application in Java that consumes the REST API of the swiss floorball association... Continue Reading →

