We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1faaca2 + b77c56c commit 2ffff54Copy full SHA for 2ffff54
1 file changed
Modules/CIPPCore/Public/New-CIPPAlertTemplate.ps1
@@ -258,7 +258,7 @@ function New-CIPPAlertTemplate {
258
$LocationTable = ($LocationInfo | ConvertTo-Html -Fragment -As List | Out-String).Replace('<table>', ' <table class="table-modern">')
259
$IntroText = $IntroText + "<p>The (potential) location information for this IP is as follows:</p>$LocationTable"
260
}
261
- $ButtonUrl = "$CIPPURL/identity/administration/users/user/bec?userId=$($data.ObjectId)&tenantFilter=$Tenant"
+ $ButtonUrl = "$CIPPURL/identity/administration/users/user/bec?userId=$($data.Userkey)&tenantFilter=$Tenant"
262
$ButtonText = 'User Management'
263
$AfterButtonText = '<p>If this is incorrect, use the user management screen to block the user and revoke the sessions</p>'
264
0 commit comments