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 →
[HOWTO] Implement and deploy a WebJob for Azure App Service using WebJobs SDK
Last week, my work colleague Guillem Bonafonte and I came across a suitable use case for WebJobs in context of a project. WebJobs is a feature of Azure App Service that allows to run a program or script on the same instance as a web app, web API, ... After consulting the documentation, we started... Continue Reading →
[NoBrainer] Define Azure Key Vault with embedded Access Policy in Terraform
azurerm (Azure resource manager) provider for terraform allows definition of Key Vault access policies either within the azurerm_key_vault resource via the access_policy block or by using the azurerm_key_vault_access_policy resource (using both methods for access policy management leads to conflicts). The advantage of defining Key Vault access policies within the azurerm_key_vault resource over defining azurerm_key_vault_access_policy resource(s)... Continue Reading →
[NoBrainer] Filter items on nested properties in Azure Cosmos DB Data Explorer
In this post I quickly explain how to filter items of a Cosmos DB container based on nested properties by using Data Explorer of Azure Cosmos DB account in Azure portal. Suppose there is a container named People and the following item structure. { "person": { "firstName": "John", "lastName": "Doe", "personId": "1234", "addresses": [ {... Continue Reading →
[HOWTO] Renew Client Secret of Azure DevOps Service Connection
When creating a Azure DevOps service connection of type Azure Resource Manager that uses authentication method service principal (automatic), a service principal and a app registration get created in the corresponding Azure tenant. Furthermore a client secret gets added to the app registration for the service connection. Unfortunately the client secret expires after two years... Continue Reading →
[HOWTO] Access Azure SQL Database with Microsoft SQL Server Management Studio 18 using AAD Authentication
As announced in my initial post, here is my first technical post - published just before the end of the year. A few weeks ago I wanted to access a Azure SQL database with a specific AAD user through Microsoft SQL Server Management Studio 18 using Azure Active Directory (AAD) authentication. To do so, I... Continue Reading →