Azure DevOps CI/CD Pipeline to build and push Docker images to Azure Container Registry
about-azure.com
by Martin Brandl
1M ago
With Azure DevOps Pipelines, it is incredibly simple to build Docker images and have them automatically pushed into an Azure Container Registry. To create and push the images, you can use the pre-existing Docker@2 Azure Pipeline Task with an Azure Container Registry service connection. However, there are environments where you cannot create an Azure Container Registry service connection because you do not have the required permissions. This is very common in enterprise projects where you often only have an existing Azure Resource Manager service connection in Azure DevOps available. In this ar ..read more
Visit website
How to fix “is not recognized as an internal or external command” in the Azure CLI
about-azure.com
by Martin Brandl
1y ago
If you try to create an Azure Web App using the Azure CLI and specify a runtime using the --runtime argument, you might receive an error message like below: ‘6.0’ is not recognized as an internal or external command, operable program or batch file. Your error message might differ slightly depending on which runtime version you specified. You can list all available values using the az webapp list-runtimes command: [ "aspnet|V4.8", "aspnet|V3.5", "DOTNETCORE|2.1", "DOTNETCORE|3.1", "DOTNET|5.0", "DOTNET|6.0", "node|10.6", "node|10.10", "node|10.14", "node|12-lts", "node|1 ..read more
Visit website
Deploy an Angular application to Azure
about-azure.com
by Martin Brandl
1y ago
There are already many articles about deploying an Angular application to Azure Web App out there. However, many of them are outdated, no longer work or refer to a single runtime environment. Therefore, I decided to write an article that covers several environments and provides an easy-to-understand example. In this article we will: Create an Angular 12 demo application Provision an Azure Web App using the Azure CLI Use Visual Studio Code to deploy the web app to Azure Prerequisites Visual Studio Code Azure App Service Visual Studio Code Extension Azure CLI Angular CLI Scaffold an Angular ..read more
Visit website
Approve requests for Azure AD roles in PIM
about-azure.com
by Martin Brandl
1y ago
From a security perspective, organizations want to minimize the number of people who have access to secure information or resources. With Privileged Identity Management (PIM), you can give users just-in-time privileged access to Azure and Azure AD resources. Furthermore, you can assign time-bound access to resources using start and end dates and enforce an approval to activate privileged roles. At the time of writing, PIM works very well with the Azure Portal. Unfortunately, there is no documentation / complete sample on how to approve or deny PIM requests programmatically. This article will s ..read more
Visit website
Working with CosmosClient in Azure Functions
about-azure.com
by Martin Brandl
2y ago
Azure Functions allows you to inject an instance of the DocumentClient class to perform, read or write operations on your CosmosDB. This concept is known as input binding and there are multiple bindings available for various Azure resources (See Azure Functions triggers and bindings concepts). Unfortunately, there is no input binding for the new CosmosClient class that is part of the .NET SDK v3. In this article, you will learn how you can use the new CosmosClient within your Azure Functions to leverage the Azure Cosmos DB .NET SDK v3. Prerequisites Azure Subscription Azure ComosDB account Az ..read more
Visit website
Programmatically invite Users to Azure API Management
about-azure.com
by Martin Brandl
2y ago
Azure API Management (APIM) is a service that allows you to create modern API gateways for existing back-end services. In addition, it also comes with a Developer portal that serves as the main web presence for developers working with your APIs where they can invoke your endpoints and read your API documentation. This article shows how to programmatically invite developers to your Azure API Management instance using PowerShell and the APIM REST API. Note: If you want to create new users with a predefined password, you can use the New-AzApiManagementUser cmdlet instead of dealing with REST call ..read more
Visit website
How to deploy Azure Resource Manager (ARM) templates with GitHub Actions
about-azure.com
by Martin Brandl
3y ago
In my previous post, I showed you how to connect a GitHub Action workflow to your Azure Subscription using the Azure login (azure/login) action. This article will show you how to deploy Azure Resource Manager (ARM) templates using GitHub Actions. Our demo will implement the Azure infrastructure deployment of the whiteducksoftware/sample-mvc application using a GitHub Action workflow. The demo application is based on .NET Core 3.1 and runs on an Azure Web App. Here is how the website looks like: Adding the ARM Template The whiteducksoftware/sample-mvc application requires the following two Azur ..read more
Visit website
Manage Azure Function Keys using PowerShell
about-azure.com
by Martin Brandl
3y ago
The Azure Functions Runtime exposes a management API that enables users to programmatically add, delete, or update function keys. In this article, I will show you how to use this API to manage Azure Functions Keys using PowerShell. Authorization keys With Azure Functions, you can use keys to prevent anonymous users to access your HTTP endpoints. The Requests then must include an API key (either a function or host key) which can be included in two ways: Providing the key Using an URL query string named code https://<FUNCTION_APP_NAME>.azurewebsites.net/api/<FUNCTION_ ..read more
Visit website
2019 most important Azure announcements for developers
about-azure.com
by mjibrandl
3y ago
A few days ago I talked about the most important Azure 2019 (GA) announcement from a developer perspective. My main resource to gather all important Azure product updates, roadmap and announcements from the last year was the official Azure updates page. Unfortunately, the page doesn't reveal the count of the announcements in 2019 so I wrote a little PowerShell script to figure that out: $announcements = for($i=1; $i -le 12; $i++) { $month = "{0:d2}" -f $i for($n=1; $n -le 100; $n++) { $result = Invoke-RestMethod -Method Get -Uri ('https://azure.microsoft.com/en-us/u ..read more
Visit website
Deploying to Azure using GitHub Actions
about-azure.com
by mjibrandl
3y ago
Microsoft announced the general availability (GA) of GitHub Action on November 13, 2019. GitHub Actions enables you to create Software Development Life Cycle (SDLC) workflows like continuous integration (CI) or continuous delivery (CD) . A workflow is defined by a YAML (.yml) file that is located inside the.github/workflows directory in your repository. This article shows you how to connect a GitHub Action workflow to your Azure subscription using the Azure login (azure/login) action in order to manage your Azure resources using the Azure CLI or other GitHub Actions for Azure. Depending on whi ..read more
Visit website

Follow about-azure.com on Feedspot

Continue with Google
OR