Skip to content

Commit 2d1e866

Browse files
Merge pull request KelvinTegelaar#1795 from TecharyJames/master
Fix - Alert on SMTP AUTH usage with success, helps to phase out SMTP AUTH (Entra P1 Required) returns nothing
2 parents 4461f55 + 46eeb04 commit 2d1e866

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/CIPPCore/Public/Alerts/Get-CIPPAlertSmtpAuthSuccess.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function Get-CIPPAlertSmtpAuthSuccess {
1313

1414
try {
1515
# Graph API endpoint for sign-ins
16-
$uri = "https://graph.microsoft.com/v1.0/auditLogs/signIns?`$filter=clientAppUsed eq 'SMTP' and status/errorCode eq 0"
16+
$uri = "https://graph.microsoft.com/v1.0/auditLogs/signIns?`$filter=clientAppUsed eq 'Authenticated SMTP' and status/errorCode eq 0"
1717

1818
# Call Graph API for the given tenant
1919
$SignIns = New-GraphGetRequest -uri $uri -tenantid $TenantFilter

0 commit comments

Comments
 (0)