functions

A 5-post collection

Securing Azure Functions with Azure Active Directory - Part 2

This is a part two of a series of posts about consuming Azure Functions secured by Azure Active Directory. Part 1 - Creating an Azure Function with the Azure CLI 2.0 Part 2 - Securing an Azure Function with Azure Active Directory Part 3 - Creating an Angular Client Application Part 4 - Adding Azure Active Directory Group Claims Checks The goal: create an Azure Function, secure it with Azure Active Directory, and use Angular to pull data back from the AAD secured function. In Part 1 we created an Azure Function App and a basic function. Our Azure Function is accessible from Postman or curl, but not from a simple web page. Configure Cross Origin Resource Sharing (CORS)...


Securing Azure Functions with Azure Active Directory - Part 1

Creating an Azure Function with the Azure CLI 2.0 Part 1 - Creating an Azure Function with the Azure CLI 2.0 Part 2 - Securing an Azure Function with Azure Active Directory Part 3 - Creating an Angular Client Application Part 4 - Adding Azure Active Directory Group Claims Checks This is Part 1 of a multi-part post about consuming Azure Functions secured by Azure Active Directory. I have been using Office 365 applications with OAuth tokens for a while, but wanted to dive a bit deeper and learn some of what is going on behind the scenes. While I learned a lot for this series, and it may not be an exact match to all of the...


Deploy an Azure Function App using Azure ARM Templates

The code for this post is part of the Azure Functions for SharePoint Github project. Background About a month ago, Doug Ware introduced the Azure Functions for SharePoint (AFSP) open source project. The project's goal is to provide a set of common plumbing functions for scenarios shared by most SharePoint provider hosted add-ins implemented as Azure Functions. As past posts of mine have indicated, I see Azure Functions as a compelling service from Azure. In addition, I think the Azure Functions pattern Doug is promoting is an equally compelling use of Functions in the Office and SharePoint space and I wanted to get involved with the project. One of the goals of the project is to enable people to make...


Loading Shared CSX Files in Azure Functions

As I mentioned in a recent post, I have been spending some time getting to know Azure Functions lately. A friend and I are taking the opportunity to learn about Azure Functions and build something that will help us with activities related to the community conferences we organize. As always, this is more of a breadcrumb trail for me, but leave a comment if this helps you! I'd love to hear from you. Why Do We Need Shared CSX Code? To help us focus on a real world problem, we are using Azure Functions to automate the management of some social media tasks for some conferences we organize. When we accept a speaker session or confirm a sponsor, we want...


Office PnP Cmdlet Updates and Azure Functions

Office PnP Cmdlets Now Use *-PnP* Prefix tl;dr; If you have not been paying attention, the (awesome) PowerShell PnP Cmdlets are undergoing a big change. How do I know this you might ask? Well, I could have found this out the easy way by reviewing the 2nd November PnP recording information from Vesa Juvonen. However, as I often do, I learned the hard way. To see the announcement and a demo, view the video below. What follows is is how I came to learn of the change while I was working with the Office PnP PowerShell cmdlets and some Azure Functions goodness. Test Driving Azure Functions With the recent introduction of Azure Functions I have been kicking the tires...