Skip to content

Commit e06d5e7

Browse files
committed
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into dev
2 parents d0cf944 + 9fd301f commit e06d5e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-ExecOffboardUser.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Function Invoke-ExecOffboardUser {
1010
[CmdletBinding()]
1111
param($Request, $TriggerMetadata)
1212
$AllUsers = $Request.Body.user.value
13-
$TenantFilter = $request.Body.tenantFilter.value
13+
$TenantFilter = $request.Body.tenantFilter.value ? $request.Body.tenantFilter.value : $request.Body.tenantFilter
1414
$Results = foreach ($username in $AllUsers) {
1515
try {
1616
$APIName = 'ExecOffboardUser'

0 commit comments

Comments
 (0)