Caching PowerShell modules in Azure Pipelines
Simon Wahlin | My notes that might be useful
by
1y ago
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 ..read more
Visit website
Calling Azure Function from PowerShell
Simon Wahlin | My notes that might be useful
by
1y ago
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 ..read more
Visit website
Azure Functions and Azure AD authorization
Simon Wahlin | My notes that might be useful
by
1y ago
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 ..read more
Visit website
Azure Functions and Azure AD authentication
Simon Wahlin | My notes that might be useful
by
1y ago
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 ..read more
Visit website
Designing Azure Functions for PowerShell
Simon Wahlin | My notes that might be useful
by
1y ago
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 ..read more
Visit website
Designing Azure Function App for production
Simon Wahlin | My notes that might be useful
by
1y ago
This post is part of a series about Azure Functions and PowerShell. Check out the list of other posts in the series! Intro Creating an Azure Function in the Azure Portal is super easy, just hit Add, select “Function App”, hit Create and fill in the form. This works for a demo, but it only gives us a simple Function App without any customization. There are a few things I always tend to customize when I want to run a Function App in production (or production-like) environments ..read more
Visit website
Azure Functions - The ultimate integration platform
Simon Wahlin | My notes that might be useful
by
1y ago
Azure Functions is an awesome serverless offering from Microsoft. It lets you deploy a small piece of code as a “function” without having to worry about any underlying infrastructure. A function will then execute on a given event, which for example could be an event from an event service like Event Grid or Event Hubs, a message on a queue like Azure ServiceBus or Azure storage queues, a direct HTTP request like an API call or a webhook, or a timer ..read more
Visit website
Cloning all repositories from Azure DevOps using Azure CLI
Simon Wahlin | My notes that might be useful
by
1y ago
I use a lot of different computers and I have a thing for reimaging my computers way too often. All in all, this means that I find myself sitting in front of a newly installed computer quite often. One thing that I always to on a fresh computer is to clone a bunch of repos from my personal organization in Azure DevOps that contains my notes and a selection of tools that I want available everywhere I go ..read more
Visit website
Getting an access token for AzureAD using PowerShell and device login flow
Simon Wahlin | My notes that might be useful
by
1y ago
Intro Have you ever wanted to query an API that uses access tokens from Azure Active Directory (AzureAD) from a PowerShell script? There are a lot of solutions for this that uses an application in AzureAD and authenticates using its client-id and secret. If I have a web application or a non-interactive service this is the way to go. My friend and colleague Emanuel Palm wrote a great post on Microsoft Graph API with PowerShell for that scenario ..read more
Visit website
Azure Function App Setting and Container Size not supported error
Simon Wahlin | My notes that might be useful
by
1y ago
Intro I deployed an Azure function using ARM template and then tried to manually add an application setting in the portal. Got the following error message: Updating web app settings The specified container size is not supported. Use one of these container sizes: 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024, 1088, 1152, 1216, 1280, 1344, 1408, 1472, 1536. Searched on the internet, found this issue: https://github ..read more
Visit website

Follow Simon Wahlin | My notes that might be useful on Feedspot

Continue with Google
OR