Author: Ben

Authenticate to Microsoft Graph in PowerShell in two lines of code!

TWO LINES???!!! you bet!! One of my biggest gripes over the last few years with IT blogs and general talk of working with Azure & PowerShell is how much time is wasted on talking about how to authenticate into Azure\Graph\AAD. I’d suggest it is one of the harder hurdles to getting into the modern DevOps way of working. OAuth & OAuth 2 can be a very daunting thing and …

Monitor changes to Intune using Azure Functions, GraphAPI & PowerShell

In my last post, I showed you how to move a very common task – authenticating into the GraphAPI, up into an Azure Function App. Now that our authentication function has been turned into a REST Endpoint, we can stop focusing on how we get authenticated and start doing some really interesting stuff inside the environment. Case in point, myself and a colleague @OnPremCloudGuy were wondering if we could …

Working with GraphAPI & PowerBI the easy way!

I’m sure lots of us out there in the IT world have spent some time with PowerBI with varying degrees of headache-inducing successes. I know myself that working with fairly flat data sources, you can very easily create some incredible reports that will make you look like a data wizard to even the most jaded manager out there, however once you want to start working with complex data sets …

Install Microsoft Teams with Intune, Powershell & Bits!

Hi All, I know most people out there cringe at the thought of spending time packaging applications for deployment, but unfortunately I seem to be a sucker for punishment and really do revel in the challenges faced with application packaging! Here’s a nice and easy one that will help anyone tasked with getting the latest version of the Teams client onto devices – whether using SCCM or Intune, you …

How to force Intune configuration scripts to re-run

** EDIT ** Due to constant requests, I’ve updated this solution to use newer authentication methods that allow MFA as well as native support in PowerShell 7. Please note – the code below is provided as reference material only – authentication is NOT the point of the article and there are countless ways to acquire the correct authentication token. *** Hi All and welcome. As I am about to …