CRT icon indicating copy to clipboard operation
CRT copied to clipboard

Fails randomly due to timeout

Open Simon-AISI opened this issue 1 year ago • 0 comments

Hi, For all intents and purposes, I had issues with the actions Get-EXOMailboxPermission and Get-EXORecipientPermission wich timed out when executed against too much mailboxes and made the hole script fail. The workaround I found is to add a Start-Sleep 0.25 in the foreach loops (didn't try a lower value though) of the two instances of Get-EXOMailboxPermission and one of Get-EXORecipientPermission.

Simon-AISI avatar Oct 24 '24 09:10 Simon-AISI