Solved

Move Linked Mailbox back to User account Forest

Posted on 2012-12-20
5
1,944 Views
Last Modified: 2013-01-18
Hi,  I am looking for some assistance with the below scenario.

Forest A - Exchange 2010
Forest B - Exchange 2007

2-Way Forest trust and both forests have separate users in each forest. There are also some linked mailbox's in Forest B with the Master User Account in Forest A.

A PowerShell script is set up for the GAL Sync, and each forest is able to see contacts for each organisation including contacts for the linked mailbox's.

I am having trouble moving the Linked Mailbox from 2007 Forest back to the account forest. Do I need to use the Prepare-MoveRequest.ps1 script or can I do a straight move request?

I have tried running both and I receive errors. I can provide the exact commands I am running after I get an understanding of the exact process I should be using to do this.

Thanks in advance
0
Comment
Question by:mroger_au
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 19

Expert Comment

by:suriyaehnop
ID: 38711796
Let say you which to move User A (Linked Mailbox). Could you verify if mail contact for User A appear in Forest A (where Master reside). I believe there is User A mail contact since GAL Sync.

To move mailbox User A back to Forest A. Try to delete mail contact of User A in Forest A, once confirm done, try to move mailbox again.
0
 

Author Comment

by:mroger_au
ID: 38719445
Thanks, after deleting the Mail Contact I finally worked out the command to move the mailbox back to the 2007 forest.

New-MoveRequest -Identity "user01@foresta.com" -RemoteLegacy 
-RemoteTargetDatabase "MBX\First Storage Group\Mailbox Database" 
-RemoteGlobalCatalog "gc.forestb.com" -RemoteCredential $remote 
-TargetDeliveryDomain forestb.com

Open in new window


You also need to make sure that you can resolve the target server by NETBIOS name as well as FQDN otherwise the command will fail.

Now that the Linked mailbox has moved back I have another problem in that Outlook does not automatically update to the new server. I have run the Export-AutodiscoveryConfig command in both forests and can see the SCP created in ADSIedit.

The Autodiscover appears to work for new accounts if I enter the email address and password and hit next, it doesn't work by automatically detecting the account like it would if the account was in it's own forest.

I also appear to have to remove and re-add the Outlook profile before I can get it to point to the new server for Mailbox Moves cross-forest. Can anyone help with the Outlook Autoconfiguration/Autodiscover?
0
 

Author Comment

by:mroger_au
ID: 38757822
More information found from another Experts Exchange thread.

http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_27403059.html

Enable-MailUser -Identity Flo2 -ExternalEmailAddress flo2@domain.com

Copy the following Attributes from the source mailbox using ADSIedit
MSExchMailboxGuid
proxy address


Is anyone able to help me write a powershell script to do this?
0
 

Accepted Solution

by:
mroger_au earned 0 total points
ID: 38773735
I have worked out that after running Enable-MailUser you can use the Prepare-MoveRequest.ps1 script with the -UseLocalObject to use the existing AD account.
0
 

Author Closing Comment

by:mroger_au
ID: 38792349
Worked it out, tested OK.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question