Skip to content

Commit e9fed84

Browse files
readd tenantid to alerts
1 parent f02f80d commit e9fed84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/CIPPCore/Public/Entrypoints/Activity Triggers/Push-ExecScheduledCommand.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ function Push-ExecScheduledCommand {
116116
'*email*' { Send-CIPPAlert -Type 'email' -Title $title -HTMLContent $HTML -TenantFilter $Tenant }
117117
'*webhook*' {
118118
$Webhook = [PSCustomObject]@{
119+
'tenantId' = $TenantInfo.customerId
119120
'Tenant' = $Tenant
120121
'TaskInfo' = $Item.TaskInfo
121122
'Results' = $Results

0 commit comments

Comments
 (0)