My Blog

Empowering developers since 2015. Real articles, real insights.
Cloud and DevOps solutions that will save you hours.

    Add a file header to your C# files with the help of .editorconfig

    The file_header_template property in .editorconfig allows you to automatically add a license or custom header to every new C# file you create. This is especially useful for maintaining consistent file headers across your project.

    Read the complete article

    Creating Private DNS Zones for company-friendly aliases (CNAME) in Azure

    Working with Azure resources often means dealing with complex FQDNs like myapp.azurewebsites.net or mystorageaccount.blob.core.windows.net. While these work perfectly fine, they’re not always the most user-friendly or company-branded names for your internal teams to remember and use. That’s where Azure Private DNS zones come to the rescue, allowing you to create custom, company-friendly aliases for your Azure resources.

    In this article, I’ll show you how to set up a Private DNS zone to create a CNAME record that maps a company domain to your Azure App Service, making it accessible via a URL like app.mycompany.com.

    Read the complete article

    Add an App Registration as an owner of another App Registration in Azure

    Imagine the following scenario on Azure. You have an App Registration A which should be able to administrate another App Registration B. For that, the A should be made owner of B. However, on the Azure Portal it is only possible to add a real user as an owner and not a Service Principal, in our case an App Registration.

    We will have to use an Azure CLI command to achieve our goal and before deep diving into the solution, let us first understand what an App Registration and an Enterprise Application are, since we are going to use their IDs

    Read the complete article

    Create a new API Connection and Access Policy for connecting Your Azure Logic App to Blob Storage in Bicep

    When building workflows with Azure Logic Apps (Standard), a common requirement is to connect securely to Azure resources such as Blob Storage. In this article, we’ll show how to automate the creation of API Connections and Access Policies using Bicep, enabling your Logic Apps to access Blob Storage securely. We’ll cover both authentication methods: Shared Key and Managed Identity.

    Read the complete article

    How to Fix "The connection to the Cosmos DB database could not be made due to missing authorizations" in Azure AI Search

    When integrating Azure AI Search with Cosmos DB, you might encounter the following error:

    The connection to the Cosmos DB database '<the-name-of-the-database>' could not be made due to missing authorizations

    This error typically means that the Managed Identity used by your Azure AI Search service does not have the necessary data plane permissions on the Cosmos DB account.

    Read the complete article