Skip to content

Commit 49c14f2

Browse files
authored
Merge pull request #1079 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents b95748c + faa1b84 commit 49c14f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/CIPPCore/Public/Send-CIPPScheduledTaskAlert.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ function Send-CIPPScheduledTaskAlert {
255255
}
256256

257257
if ($ShouldSplit -and $Results -is [array] -and $Results.Count -gt 0 -and $Results[0] -isnot [string]) {
258-
$UpnFieldCandidates = @('UserPrincipalName', 'userPrincipalName', 'UPN', 'userId', 'Userkey')
258+
$UpnFieldCandidates = @('UserPrincipalName', 'userPrincipalName', 'UPN', 'userId', 'Userkey', 'Member')
259259
$RowProperties = $Results[0].PSObject.Properties.Name
260260
$UpnField = $UpnFieldCandidates | Where-Object { $_ -in $RowProperties } | Select-Object -First 1
261261

0 commit comments

Comments
 (0)