Run a PowerShell Workload on a Local Kubernetes Cluster That Talks to Microsoft Graph

Run a PowerShell Workload on a Local Kubernetes Cluster That Talks to Microsoft Graph

In the last post, we wired up workload identity on an Azure Arc-enabled Kubernetes cluster and pulled a secret out of Key Vault without a single credential going anywhere near the pod.

Which was very satisfying… and also completely useless, because all that pod did was print a secret to the console and then die.

So let’s fix that. I want to take the exact same trust relationship and put it behind something I would actually run - a PowerShell workload, on a schedule, doing real work against Microsoft Graph. No app registrations, no client secrets rotating every six months, no certificate quietly expiring at 2am on a Sunday.
11 minutes to read
Manage Intune Trusted Certificate Profile Expiration with PowerShell & Microsoft Graph

Manage Intune Trusted Certificate Profile Expiration with PowerShell & Microsoft Graph

How do you remind yourself to renew your CA root certificates / subordinate certificates? Do you set a calendar reminder? Did the person who set those reminders up forget to share them with the team and now is on holidays?

Fear not, for I have holiday gift for you - using nothing but PowerShell, we can interrogate our trusted certificate policies and, as if by magic, send out alerts when the attached certificates are about to expire!

6 minutes to read
Authenticate to Graph directly from PowerBI!

Authenticate to Graph directly from PowerBI!

Recently, one of my colleagues sent me a really cool Intune application patching report that they were working on and I wanted to see if I could make the data collection more automated / dynamic. Now, It’s been a LONG time since I’ve dipped my toes into the headache that is PowerBI, but once I see a challenge, it’s difficult for me to leave it alone…
6 minutes to read