Skip to content
Blog by Morten Knudsen about Microsoft Security, Azure, M365 & Automation
  • Blog Posts
  • Blog Posts by Category
  • Github Repo
  • Speaks & Events
  • Experts Live Denmark
  • Pictures
    • Pictures Microsoft
    • Pictures Tech Peers
  • About | Morten
    • Contact
    • Disclaimer

Blog by Morten Knudsen about Microsoft Security, Azure, M365 & Automation

  • Blog Posts
  • Blog Posts by Category
  • Github Repo
  • Speaks & Events
  • Experts Live Denmark
  • Pictures
    • Pictures Microsoft
    • Pictures Tech Peers
  • About | Morten
    • Contact
    • Disclaimer

Scripting

Script: Sentinel Data Lake Table Management

20/08/202513/08/2025 by Morten Knudsen

Microsoft Sentinel’s data lake story is quietly powerful: you get fast, 90-day Analytics (Shortterm) for hunting and detections, plus scalable, …

Read more

Tags Compliance, cost, Data Lake, retention, security, Sentinel

How to Enforce Macro Security by running only Excel macros signed with your own public-CA–issued code-signing certificate – stored in Azure Keyvault (HSM)

14/08/202511/08/2025 by Morten Knudsen

It may be tempting to click “Enable Macros” when you open a spreadsheet, but macros are executable programs. Without a …

Read more

Tags Macro, Microsoft, Office, security, Signing, ZeroTrust

Tutorial: Integrate AI into your Powershell scripts

25/05/202525/05/2025 by Morten Knudsen

I have been playing around with integrating AI into my favorite scripting tool: Powershell. This blog serves as a quick-guide …

Read more

Tags ai, azure, cost, identity, security, Sentinel, tutorial

Troubleshooting Windows Feature Updates not being deploying using Intune/AutoPatch/WUfB

06/06/202524/05/2025 by Morten Knudsen

I have been banging my head why some machines wouldn’t deploy Windows 11 Windows Feature Updates (24H2) as part of …

Read more

Tags autopatch, feature update, intune, patching, script, security, troubleshooting, Update, windows 11, windows update, wufb

Windows Service Monitoring at Scale using Cloud Native Azure Components

19/09/202419/09/2024 by Morten Knudsen

Recently, I was challenged to build a scalable, cloud native solution that should be used for monitoring of critical Windows …

Read more

Tags Automation, Availability, azure, Azure Arc, Kusto, Logic Apps, Monitoring, Windows Services

[issue] Connect-MgGraph : Method not found: ‘System.Action`1 Azure.Identity.IMsalPublicClientInitializerOptions.get_BeforeBuildClient()’.

11/08/2023 by Morten Knudsen

Cause Old version of Az.Accounts v2.9.1 was being installed on the computer as part of Az.Portal installation, even though newer …

Read more

Collecting DNS events using Azure Monitor Agent

10/08/2023 by Morten Knudsen

This blog will give you insight on how to setup collection of DNS Events from Windows devices using Azure Monitor …

Read more

PnP.Powershell – important changes to Powershell version requirement

01/08/202301/08/2023 by Morten Knudsen

[Important changes] PnP.Powershell – Are you using PnP.Powershell (or considering to update) to manage your Microsoft 365 environments and products …

Read more

ERROR: Could not load type ‘Microsoft.Graph.Authentication.AzureIdentityAccessTokenProvider’ from assembly ‘Microsoft.Graph.Core

01/08/202301/08/2023 by Morten Knudsen

After upgrading Microsoft Graph, I noticed an issue when trying to run cmdlet Get-MgGroup or Get-MgUser. I could connect to …

Read more

Azure Backup: Do I have resources NOT protected by backup?

26/07/2023 by Morten Knudsen

This blog will show you how you can automate an overview using Kusto queries against Azure Resource Graph (ARG) to …

Read more

Older posts
Page1 Page2 Page3 Next →

About | Morten Knudsen

Triple Microsoft MVP (Security, Azure & Security Copilot)

Microsoft Certified Trainer (1999-2025)

Cloud & Security Architect

Blogger aka.ms/morten

Public speaker

Mentor

Co-founder Experts Live Denmark

Board Member Experts Live Global

  • LinkedIn
  • Bluesky
  • Twitter
  • Mail

Recent Posts

  • Modern Outlook/Teams fails with WebView2 error – seen on Win11 ARM
  • Script: Sentinel Data Lake Table Management
  • How to Enforce Macro Security by running only Excel macros signed with your own public-CA–issued code-signing certificate – stored in Azure Keyvault (HSM)
  • How to Block Upload to WeTransfer, DropBox & Google Drive (but Allowing Download) – using Microsoft Purview Data Loss Prevention (DLP)
  • Tutorial: Integrate AI into your Powershell scripts
Tweets by knudsenmortendk
  • Privacy Policy
  • Terms
  • Contact
© 2026 Blog by Morten Knudsen about Microsoft Security, Azure, M365 & Automation • Built with GeneratePress
Next Page »