-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Description:
The Set-MailboxUser Cmdlet fails when applied to an uninitialized mailbox. This is 100% reproducible.
Steps to reproduce:
- Create a new Exchange mailbox.
- Do not initialize the mailbox. This normally happens automatically when opening the mailbox in Outlook or OWA.
Actual results:
Set-MailboxUserhangs forever waiting for the mailbox to become available so that it can be reconnected.- The mailbox immediately disappears from Exchange and cannot be recovered.
Expected results:
Set-MailboxUsershould issue a warning that the mailbox is uninitialized and is being skipped.- It may be desirable to have an option mode that creates a new mailbox object for the destination user to ensure that all destination users end up with an available mailbox.
Additional info:
If an Exchange mailbox has never been initialized, then disconnecting it results in immediate deletion instead of moving it to the list of Disconnected Mailboxes.