locked
Change "master account" linked mailbox RRS feed

  • Question

  • Hello,

    we have linkes mailboxes for user in different domains.
    I know the way to convert a linked user mailbox to an user mailbox.

    But how can i change the account for  a linked mailbox?
    I want to link the mailbox from DomainA\UserA to domainB\UserB

    Thank you

    regards

    Thursday, October 13, 2011 1:37 PM

Answers

  • You try this:

    Set-mailbox -identity UserA -LinkedDomainController domainB -LinkedMasterAccount domainB\UserB -LinkedCredential $credential

    it is quite likely you will also require the "-LinkedCredential" parameter to specify a credential to be used to do the lookup in the user domain.

     


    Khemarin333@hotmail.com
    • Marked as answer by Fiona_Liao Friday, October 21, 2011 7:53 AM
    Monday, October 17, 2011 4:37 AM
  • Hi,
    I would think that article needs to be a bit updated.
    It's not needed anymore to run disconnect-mailbox etc to convert a mailbox from regular to linked.

    See the information in this thread
    http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/68cf5884-1a70-4507-a9f7-8abed7172eaa

    Using set-mailbox with the parameter LinkedMasterAccount is not possible. We need to run set-user. Example:
    set-user -id <USER> - LinkedMasterAccount sourcedomain\user -LinkedDomainController dc.sourcedomain.local

    Martina Miskovic - http://www.nic2012.com/
    • Marked as answer by Fiona_Liao Friday, October 21, 2011 7:52 AM
    Tuesday, October 18, 2011 3:28 AM
  • Hi,

    Try set-mailbox with the LinkedMasterAccount  switch

    Leif

    • Proposed as answer by Fiona_Liao Monday, October 17, 2011 4:06 AM
    • Marked as answer by Fiona_Liao Friday, October 21, 2011 7:52 AM
    Thursday, October 13, 2011 1:55 PM

All replies

  • Hi,

    Try set-mailbox with the LinkedMasterAccount  switch

    Leif

    • Proposed as answer by Fiona_Liao Monday, October 17, 2011 4:06 AM
    • Marked as answer by Fiona_Liao Friday, October 21, 2011 7:52 AM
    Thursday, October 13, 2011 1:55 PM
  • Hi,

    Try set-mailbox with the LinkedMasterAccount  switch

    Leif


    Agree. Just type the master account directly and it will replace the existing one. Refer to: http://technet.microsoft.com/en-us/library/bb123981.aspx.
    Fiona
    Monday, October 17, 2011 4:09 AM
  • You try this:

    Set-mailbox -identity UserA -LinkedDomainController domainB -LinkedMasterAccount domainB\UserB -LinkedCredential $credential

    it is quite likely you will also require the "-LinkedCredential" parameter to specify a credential to be used to do the lookup in the user domain.

     


    Khemarin333@hotmail.com
    • Marked as answer by Fiona_Liao Friday, October 21, 2011 7:53 AM
    Monday, October 17, 2011 4:37 AM
  • Due to errors, we needed to do this twice. This works, the same way you would convert a user mailbox to a linked mailbox:

    Disable-Mailbox -Identity DomainA\UserA (make a not of the database the user is residing in)

    $cred = Get-Credential (Specify an account that has permissions to access the domain controller in the forest where the user account resides)

    Connect-Mailbox -Identity 'DomainA\UserA' -Database "DBXX" -LinkedDomainController <dc.resforest.com> -LinkedMasterAccount 'DomainB\UserB' -LinkedCredential $cred -User <disabled account>

    Fiona and Leif, could you please provide working code with that parameter? Would make life much easier.

    See: Use the Shell to convert a mailbox to a linked mailbox (but there appears to be an error, what about the user parameter?)
    Convert Linked Mailboxes
    http://technet.microsoft.com/en-us/library/bb201694.aspx


    MCTS: Messaging | MCSE: S+M

    Monday, October 17, 2011 4:40 AM
  • Hi Marc,

    Any update?


    Fiona
    Tuesday, October 18, 2011 2:51 AM
  • Hi,
    I would think that article needs to be a bit updated.
    It's not needed anymore to run disconnect-mailbox etc to convert a mailbox from regular to linked.

    See the information in this thread
    http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/68cf5884-1a70-4507-a9f7-8abed7172eaa

    Using set-mailbox with the parameter LinkedMasterAccount is not possible. We need to run set-user. Example:
    set-user -id <USER> - LinkedMasterAccount sourcedomain\user -LinkedDomainController dc.sourcedomain.local

    Martina Miskovic - http://www.nic2012.com/
    • Marked as answer by Fiona_Liao Friday, October 21, 2011 7:52 AM
    Tuesday, October 18, 2011 3:28 AM
  • WOW, I have to test Set-User. The link on TechNet I was referring to has an error, by omitting the -User parameter. The drawback of my suggested approach (which is tried and true -- we do have linked mailboxes in production) is that you loose all Exchange-specific information.

    The proposed answer here -- set-mailbox with the LinkedMasterAccount  switch -- does not make sense at all.


    MCTS: Messaging | MCSE: S+M
    Tuesday, October 18, 2011 5:11 AM