Use the new Azure SDKs with Managed Identities

Use the new Azure SDKs with Managed Identities

Over the years there's been a plethora of API's and approaches to work with artifacts and resources in Azure. In July this year (2019), Microsoft announced the availability of the new Azure SDK API Standards, which is a new set of SDK's in the following languages: Python, Java, JavaScript and .NET. These SDK's are supposed to be a unified approach to building the SDK's, and whatever goes into one API goes into all of them, so there's no disconnect between capabilities in different programming languages. Now that some Azure services have matured and been adopted into  business-critical enterprise applications, we…

Read More

Fixing: Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

Fixing: Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

When working with Azure DevOps, or locally sometimes with Visual Studio, you may get the following error if there's a mismatch. It can depend on what versions of the SDK you've got on your machines, either local or build agent. Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version. A related error message that I also see regularly together with the one above is: error MSB4236: The SDK 'Microsoft.NET.Sdk.Web' specified could not be found. This error can happen when the…

Read More

Azure Functions and secure Configuration with built-in integration to Azure Key Vault

Azure Functions and secure Configuration with built-in integration to Azure Key Vault

Azure Functions are usually tied to an Azure Storage Account by using App Settings. Unfortunately, when launching a new Function App project in Visual Studio, or watching demos and examples online, the connection string usually is in App Settings in plain text. In this post I'm sharing a quick tip on how to protect sensitive configuration values in App Settings by using Secrets from a Key Vault, and you can even reference the default Storage Account connection string this way, completely avoiding any type of sensitive data in App Settings, from scratch. Microsoft have some good documentation (links in the…

Read More

Automate Azure DevOps code security analysis with the Microsoft Security Code Analysis extensions

Automate Azure DevOps code security analysis with the Microsoft Security Code Analysis extensions

This post is about increasing automated security posture with Azure DevOps by using the "Microsoft Security Code Analysis extension", which is a set of tasks that helps implement security analysis of your files and code in your pipelines. Microsoft have done an amazing job with making this extension available, so we can make use of automated build tasks to check for some commonly encountered security issues. Follow me in this article to explore how we make use of the Azure DevOps extension for Microsoft Security Code Analysis, which includes these build tasks to help us: Credential Scanner (CredScan)BinSkimTSLintRoslyn AnalyzersMicrosoft…

Read More

Use Azure Monitor to get Network Insights and Storage Insights

Use Azure Monitor to get Network Insights and Storage Insights

At Microsoft Ignite 2019 in Orlando, there was a plethora of interesting announcements. Some which are already available in your Azure subscriptions to try out. Two of these, which also are some favorites of mine to keep tabs on my resources easier across subscriptions, are the Network Insights and Storage Insights additions to Azure Monitor. Azure Monitor - Networks (preview)Network Insights also gives you the capability to do cross-subscription monitoring for your network health. From here, you can easily drill down into any part of your networking in the cloud and investigate if you have any issues going on,…

Read More

Diagnosing and troubleshooting configuration and application errors in Azure App Services

Diagnosing and troubleshooting configuration and application errors in Azure App Services

Launching new websites, services and applications in the cloud is easy. However, the fact that getting something up and running is easy, doesn't mean that it's sufficient for an enterprise-grade or distributed-scale application to operate in the long run. Designing the solution architecture, infrastructure and configuration of your apps and services are extremely important - and if you intend to embrace a real workload (not "see my demo here"), you need to ensure that things are flying at all times, with redundancy and failovers. In this post we'll talk a bit about diagnosing and troubleshooting errors and issues with Azure…

Read More

We just launched an Azure Podcast

We just launched an Azure Podcast

Hooray! Today is an exciting day for me. We just launched a new podcast named Ctrl+Alt+Azure, which you can find here: ctrlaltazure.com. I'm co-hosting this with my friend and fellow Microsoft MVP for Azure, Jussi Roine. Here we are, casually looking relaxed in an atypical scandinavian style. Tobias Zimmergren & Jussi Roine - Co-hosts of the Ctrl+Alt+Azure PodcastWe even designed a fancy logo for the new podcast. I'm sure everything will be awesome with a logo like that. Ctrl+Alt+Azure Podcast by Tobias Zimmergren & Jussi RoineBackground storyIn recent year(s) I've been in…

Read More