Azure Workload Identity Federation

What is a Workload Identity really, and how we can utilize a federated credential to authenticate to Azure from external cloud services? In this post we’re taking a look at how Open ID Connect works in practice, when utilizing identities in Entra from Azure DevOps Pipelines and GitHub Actions.

OAuth 2.0 Fundamentals for Azure APIs

This is the post that I wish I had read when I started working with Azure. Let’s build a common understanding on how OAuth 2.0 works in the context of Azure, and how we can use different auth flows to get tokens and start using the many Azure APIs.

Azure Blob Storage API with OAuth 2.0

SDKs, tools and re-usable modules are great, but nothing beats knowledge. Once in a while I decide to take a stab at one of the Azure APIs to learn more about the underlying structure of the service, and to see if it’s more efficient than using what’s already out there. In this post we’re exploring how the REST API of the Azure Blob Storage works with Azure AD Authentication and OAuth in PowerShell.

Resolving PowerShell Module Conflicts

Writing PowerShell modules sometimes means adding dependencies to an assembly file, such as an SDK. When the module you’re building has the same dependency as another module, a conflict occurs. What is the best way to handle the conflict, and how can you build your own assembly load context for your module?

Custom Bindings for Azure Functions

Have you ever wanted to wrap your integration logic in a custom binding for Azure Functions for use in any language? Let’s take a look at how to post a message to Discord by writing and registering a binding extension, and using it from Azure Functions examples in C# and PowerShell.

Durable Azure Functions with PowerShell

Building Durable Azure Functions allows us to orchestrate workflows using only code in a reliable way that previously was only available in other services such as Logic Apps. Let’s take a look at how they work, and when they best fit our needs.

Azure Service Bus with PowerShell

Once in a while you encounter a service you’d like to integrate with where there is no API, or official PowerShell module that suits your purpose. This happened to me recently, so let’s take a look at how Azure Service Bus can help us, and how to integrate with it using PowerShell.

PowerShell Classes and Enums

Classes are an often overlooked tool in PowerShell, familiar for programmers but sometimes foreign and confusing for those new to the world of PowerShell. There are often alternatives to writing classes but there are also situations where it shines. In this post we’ll go through how to create one so that you can learn some of the strengths!

Microsoft Graph API with PowerShell

More than once I’ve been in a situation where I’m writing an Azure Function app and I’m interested in data from other parts of Azure, such as Azure AD. Sometimes the Az modules aren’t enough, so how can we get more data?

Web Scraping with PowerShell

If you’ve ever been in a situation where you would like to index a lot of pages on a webpage or get the data straight from the HTML because the site doesn’t have an API, PowerShell could have been of help. If you haven’t been in the situation yet, check out these simple tricks you can use to gather raw data straight from the web!

Azure Table Storage with PowerShell

Azure Table is a fantastic way to store output information from scripts in PowerShell. In this post we’ll go through what steps you take when you need to quickly store structured information in the cloud and how to work with it using a SAS token!

Building PowerShell Modules in Azure

Last time we took a look at the Plaster scaffolding tool to let us have a different mindset when thinking about how to create a module in PowerShell. Today we’ll be taking it to the cloud using Azure pipelines to automate the building process!

Building PowerShell Modules with Plaster

You’ve heard of them, you’ve seen them, maybe you’ve created some before! Modules in PowerShell are created and used in different ways. In the first part we’ll take a look at creating a module using Plaster and gyPSum and in the second part we’ll do it again but using Azure DevOps pipelines to automate it!

Numeral Systems in PowerShell

Sometimes you need to work with number systems other than our good old decimal base 10. There are various ways to do this depending on what your goal is and in this post I will list a few easy ways and some more ambitious ones.

Choosing Lunch through PowerShell

In the start of the past summer, a coworker and I were discussing our lunch plans for the day, not quite able to decide what to go for. I jokingly said that I should just write a PowerShell script to decide for us, an idea that I took to the next level.