0 votes

Hello Supportteam.

I have implemented the Reconnect MAilbox Script from the Script Repository.
It is working fine except one detail of the mailbox restore.
I want that the reconnected mailbox will be created in the same DB as before.
We have 16 DB on our Exchange, and some for external employees.
Is this possible?

Thanks in advance

by (50 points)

1 Answer

0 votes
by (298k points)
selected by
Best answer

Hello,

That is exactly what the script should do if a mailbox is properly disconnected. The process should be like the following:

  1. When you execute the Disconnect mailbox script, it saves the mailbox GUID and the distinguished name (DN) of the mailbox database to the properties specified in the $mbGUIDProperty and $mbStorePathProperty variables accordingly and disconnects the mailbox.
  2. When you execute the Reconnect mailbox script, it gets the mailbox GUID and the distinguished name (DN) of the mailbox database from the properties and reconnects the mailbox.

A new mailbox is created only if the disconnected mailbox is not found for the user. For example, if you disconnect a mailbox in some other way and the information is not saved to the properties, the Reconnect mailbox script will not be able to find the disconnected mailbox and a new mailbox will be created.

Exchange does not immediately synchronize mailbox state which probably causes the issue. To check whether the mailbox state is synchronized:

  1. Disconnect a mailbox in Adaxes using the Disconnect mailbox script from our repository.
  2. Copy the value of the property specified by the $mbStorePathProperty variable.
  3. Sign in to the computer where Exchange is installed and run PowerShell.
  4. Execute the following command:
    Get-MailboxStatistics -Database <database_store> | where {$_.DisconnectDate -ne $Null}
    Where <database_store> is the value you copied on step 2.

Usually, mailboxes are added to the disconnected list once a day. For information on how to synchronize mailbox state, have a look at the following article: https://technet.microsoft.com/en-us/lib ... .150).aspx.

Related questions

0 votes
1 answer

Hi team, I have this approval action set up: So, group A is added to group B. To which owner is the approval now send out? A or B? From my understanding of the action ... description is not very clear and it looks like it is send out to Owners of group A.

asked Jan 23 by wintec01 (1.7k points)
0 votes
1 answer

Hi team, is there any way to get an email about new Releases available for download inlc. Notes?

asked Jan 17 by wintec01 (1.7k points)
0 votes
1 answer

Hi team, I have a few questions about approval flows How can I send approval to individual user (stored in an custom attribute)? How can I do actions based on request is ... -&gt; set accountExpire +6 Months if denied -&gt; do nothing and account will expire

asked Mar 13, 2024 by wintec01 (1.7k points)
0 votes
1 answer

Hallo Everyone I've seen the Report for Exchange Mailboxes with OU, Send on Behalf, Full Rights and Send As Rights: https://www.adaxes.com/questions/ ... . Example: User: Peter.Steinmann Identity: Which Mailboxes AccessRights: FullAccess Kind regards,

asked Jul 6, 2022 by Sandberg94 (340 points)
0 votes
0 answers

Or would the DLs have to be manually created and rules set up? I'm starting to look into features of the product before demoing, and was hoping there was an easy answer on this one. Thanks

asked Oct 7, 2020 by SIRI-Steele (40 points)
3,628 questions
3,315 answers
8,392 comments
548,728 users