Blog

Configuring Azure Sentinel to capture and monitor Azure AD logs

As a follow up to my previous post: Monitoring, Alerting, Reporting Azure AD logins and login failures with Log Analytics and Logic Apps https://blog.terenceluk.com/2022/02/monitoring-alerting-reporting-azure-ad.html If your organization already uses Azure Sentinel as a (SIEM Security information and event management), it would be preferred to use

Read More...

Attempting to use Get-AzureADServiceAppRoleAssignment to retrieve the Users and Groups of a Enterprise Application with a Service Principal instead returns API permissions of the associated App registration

A colleague of mine recently reached out to me to ask why my script from this post: PowerShell script to assign users in an on-premise AD group to an Azure Enterprise Application’s Users and Groups https://blog.terenceluk.com/2022/02/powershell-script-to-assign-users-in-on.html … did not work not work when a service

Read More...

Connect-AzureAd fails in PowerShell version 7 with: “Could not load type ‘System.Security.Cryptography.SHA256Cng’…”

Problem You attempt to use the cmdlet Connect-AzureAd (after Import-Module AzureAd) to connect to Azure: Connect-AzureAds … but quickly notice that it fails with the following error: PS C:GitAzureAzure> Connect-AzureAD Connect-AzureAD: One or more errors occurred. (Could not load type ‘System.Security.Cryptography.SHA256Cng’ from assembly ‘System.Core, Version=4.0.0.0,

Read More...