Caching PowerShell modules in Azure Pipelines

Intro This is a short post to demonstrate how you can use a cache in Azure DevOps (Azure Pipelines) to store any PowerShell module that you need during your pipeline. Don’t let your pipeline rely on the availability PowerShell Gallery! This goes for anything really, but in this post I’m focusing on the PowerShell Gallery. There are two simple reasons for this statement: Downloading modules from the gallery takes time, not something I want to do every time I run my pipeline.

Calling Azure Function from PowerShell

This post is part of a series about Azure Functions and PowerShell. Check out the list of other posts in the series! So far we have se up an Azure Function app and configured authentication and authorization using Azure Active Directory. Now everything works as long as we expect users to hit our function with a browser. I often use functions to build an API that is being called by code.

Azure Functions and Azure AD authorization

This post is part of a series about Azure Functions and PowerShell. Check out the list of other posts in the series! In the last post on Azure Functions and Azure AD authentication we looked at how to require authentication for our Function App. Now we know who accessess our function, it’s time to have a look at Authorization, meaning now that we know who they are, should we let them in?

Azure Functions and Azure AD authentication

This post is part of a series about Azure Functions and PowerShell. Check out the list of other posts in the series! Azure Functions and Azure AD authentication Azure Functions are easy, cheap and scalable. PowerShell is a powerful language perfect for automating and authoring integrations that “glue” systems together. This is a match made in heaven for me, but how do I know and validate who calls my code? This is where Authentication enters the scene.

Designing Azure Functions for PowerShell

This post is part of a series about Azure Functions and PowerShell. Check out the list of other posts in the series! Intro Azure Functions support for PowerShell has been generally available since November 4, 2019 and is working great! In my last post on designing Azure Function App for production I showed how to set up and configure a Function App to run PowerShell in Azure. In this post I’ll cover how to deploy our first function to it and things to consider when developing the PowerShell code that will run in the Function App.