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

Automation

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

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

Re-onboard LogAnalytics to Sentinel, if SecurityInsights solution is deleted by mistake

25/03/2024 by Morten Knudsen

Critical features will break or stop working, if you delete too much in Legacy solutions like SecurityInsights, SQLAdvancedThreatProtection or SQLVulnerabilityAssessment. …

Read more

[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

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

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