Skip to content

Commit 360e058

Browse files
committed
Update Invoke-ExecExchangeRoleRepair.ps1
1 parent d40c2bc commit 360e058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Settings/Invoke-ExecExchangeRoleRepair.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function Invoke-ExecExchangeRoleRepair {
6767
if ($RepairResults.status -in (401, 403, 500)) {
6868
$PermissionError = $true
6969
}
70-
$LogData = $RepairResults | Where-Object { $_.status -in (401, 403, 500) } | Select-Object -Property id, status, body
70+
$LogData = $RepairResults | Select-Object -Property id, status, body
7171
$Results = @{
7272
state = 'error'
7373
resultText = "Failed to repair the missing Organization Management roles: $($FailedRoles -join ', ').$(if ($PermissionError) { " This may be due to insufficient permissions. The required Graph Permission is 'Application - RoleManagement.ReadWrite.Exchange'" })"

0 commit comments

Comments
 (0)