You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cdeaa6d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: Modules/CIPPCore/Public/Entrypoints/Activity Triggers/Mailbox Permissions/Push-StoreMailboxPermissions.ps1
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -40,25 +40,28 @@ function Push-StoreMailboxPermissions {
40
40
$ActualResult=$BatchResult[0]
41
41
}
42
42
43
-
if ($ActualResult-and$ActualResult-is [hashtable]) {
43
+
if ($ActualResult-and($ActualResult-is [hashtable]-or$ActualResult-is [System.Collections.IDictionary])) {
44
44
Write-Information"Processing hashtable result with keys: $($ActualResult.Keys-join', ')"
45
45
# Results are grouped by cmdlet name due to ReturnWithCommand
0 commit comments