Skip to content

Commit 4c1ac08

Browse files
CopilotZacgoose
andcommitted
Fix message text for Remove service principal alert
Corrected the IntroText to say "has been removed" instead of "has been added" for the Remove service principal operation to match the actual action being performed. Co-authored-by: Zacgoose <107489668+Zacgoose@users.noreply.github.com>
1 parent 598d5d3 commit 4c1ac08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/CIPPCore/Public/New-CIPPAlertTemplate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function New-CIPPAlertTemplate {
240240
$LocationTable = ($LocationInfo | ConvertTo-Html -Fragment -As List | Out-String).Replace('<table>', ' <table class="table-modern">')
241241
$IntroText = $IntroText + "<p>The (potential) location information for this IP is as follows:</p>$LocationTable"
242242
}
243-
$IntroText = "$($data.ObjectId) has been added by $($data.UserId)."
243+
$IntroText = "$($data.ObjectId) has been removed by $($data.UserId)."
244244
$ButtonUrl = "$CIPPURL/tenant/administration/applications/enterprise-apps?tenantFilter=$Tenant"
245245
$ButtonText = 'Enterprise Apps'
246246
}

0 commit comments

Comments
 (0)