Identity and Access Management

Microsoft 25 Days of Serverless 2019 submissions

Another year is coming to an end. Waking up on Monday the 2nd of December and checking my socials I saw announcements from the Microsoft Developer Advocates of a 25 Days of Serverless challenge.

Being also very immersed in the craft beer industry December for me is normally marked with craft beer advent calendars (a case of mystery beers with each to be opened on the respective day). So 25 Days of Serverless challenges is quite refreshing.

Living in Australia means that we are ahead of most of the world, so Monday morning I saw not only the first, but also the second challenge.

I’ll update this page with each submission I complete in the 25 Days of Serverless challenge. I hope to be able to complete all 25. All will also be posted to this Github Repo.

Challenge / Day 1

Your task for today: create a REST API endpoint that spins a dreidel and randomly returns נ (Nun), ג (Gimmel), ה (Hay), or ש (Shin). This sounds like a great opportunity to use a serverless function to create an endpoint that any application can call!

Using PowerShell I created an Azure HTTP Trigger PowerShell Function. I’ve previously used PowerShell Azure Functions extensively, but predominantly v1. I hadn’t written an Azure PowerShell Function since v2 PowerShell Functions went GA a few months back. So a great reason to use PowerShell for my submission.

For my submission I added a query to allow you to call the API with “slow”, “medium” or “fast” for the spin speed. That generates a random number between an upper and lower integer for the number of random times a result is generated and then the highest result is returned as the final result along with a spin time (number of calls to the random result).

The screenshot below shows the results for a fast, medium and slow spin. GitHub link for my Azure PowerShell Function is here.

Challenge / Day 2

Create a task scheduler that will tell Lucy exactly when she should relight candles, pour coffee into cups, and deliver batches of coffee. How you want to notify Lucy is up to you: maybe you can send her an SMS via Twilio, or build a webapp that uses WebSockets and browser notifications?

For this challenge I used Microsoft Power Automate (fka Microsoft Flow). I did think about using Azure Functions again and messing with Durable Functions, a Web App and SignalR. But I quickly realised that was over engineering the problem and I didn’t have time to learn Durable Functions and SignalR in the hour or so I had available to completed the submission.

I’d used Microsoft Flow a few times so it was quick to create a manual trigger (that then shows up as a Button on the Power Automate mobile application on iOS) that then steps through the series of notifications and delays to allow the tasks to be completed.

With the Power Automate iOS app installed triggering this flow with the Button trigger in the mobile app, iPhone and Apple Watch notifications remind Lucy of the tasks and sequence.

GitHub link for my Azure Power Automate Flow is here.

Days 3-25

18 Dec 2019 – Strong start, what happened? Well, my intentions were honorable but I had to step up and get a few extra elements over the line for a large customer deliverable before the xmas break.

Hoping I get some downtime in a few weeks and get to checkout the other challenges and complete some.

Darren Robinson

Bespoke learnings from a Microsoft Identity and Access Management Architect using lots of Microsoft Identity Manager, Azure Active Directory, PowerShell, SailPoint IdentityNow and Lithnet products and services.

Recent Posts

EntraPulse – Your AI-Powered Gateway to Microsoft Graph & Docs

Today, I’m super excited to finally announce the Beta release of EntraPulse Lite – a…

2 months ago

Lokka MCP Authentication Enhancements

I'm excited to share some significant authentication enhancements I've contributed to the Lokka MCP Server…

3 months ago

AI Inception: Building AI Solutions with AI for AI

Last month I had the pleasure of speaking at the Sydney event for Global Azure.…

3 months ago

A Have I Been Pwned MCP Server for Claude

Model Context Protocol (MCP) is a powerful framework that extends AI clients like Claude and…

5 months ago

Azure AI Developer Hackathon

I've just completed participating in the Azure AI Developer Hackathon that was looking to provide…

5 months ago

Dynamics 365 CE (Sales, CRM) IAM PowerShell Module

Updated: July 2025 v1.0.2 Fixes issue setting D365SalesGlobals enabling session management for D365 Sales API…

6 months ago

This website uses cookies.