Skip to content

Commit

Permalink
Update Invoke-ExecMailboxRestore.ps1
Browse files Browse the repository at this point in the history
Added $Request.Body.input for new Deleted Mailbox Page
  • Loading branch information
BNWEIN committed Jun 27, 2024
1 parent 5cd9612 commit 00f713d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function Invoke-ExecMailboxRestore {
$TenantFilter = $Request.Body.TenantFilter
$RequestName = $Request.Body.RequestName
$SourceMailbox = $Request.Body.SourceMailbox
$TargetMailbox = $Request.Body.TargetMailbox
$TargetMailbox = if (!$Request.Body.input) {$Request.Body.TargetMailbox} else {$Request.Body.input}

$ExoRequest = @{
tenantid = $TenantFilter
Expand Down

0 comments on commit 00f713d

Please sign in to comment.