locked
copy emails (entire mailbox) to another exchange server 2013 RRS feed

  • Question

  • Hi,

    We are a hosted Exchange server 2013 solution provider, and we want to migrate customer mailboxes (from exchange 2007, 2010) to Exchange 2013 using some API, as we have a web portal for other admin tasks too. Someone told us that we can use EWS Managed API for this purpose.

    Is there any article  in this regard, which can help us?

    Or, is there any other API which we can use?

    Thanks in anticipation.


    Regards, David Johnson

    Wednesday, January 21, 2015 10:26 PM

All replies

  • There is nothing in the EWS Managed API that will allow you to copy a Mailboxes between Exchange servers. My suggestion is that you look at using the Exchange Management Shell New-MailboxExportRequest https://technet.microsoft.com/en-us/library/ff607299(v=exchg.150).aspx and New-MailboxImportRequest https://technet.microsoft.com/en-us/library/ff607310(v=exchg.150).aspx to export and import the Mailboxes using PST's .  If you had a really large number of Mailboxes to move then a cross forest migration that would allow you to use the MRS would be the best way (not sure how that would go in a hosting environment but if you look at something like Office365 this is the closet you will get to the Native migration methods they allow with Hybrid servers).

    Cheers
    Glen

    Thursday, January 22, 2015 2:49 AM
  • Hi,

    Glen thanks a lot for your reply. You are always a great help.

    We are currently exporting\importing using powershell manually, but there are some difficulties in automating it using a web based app, as we don't want our customers to do any manual changes, while also, from our server, we cannot execute powershell commands on remote Exchange 2007 servers.

    Automating Cross forest migration is also very diificult, as you know that it has many steps, which are hard to automate, and also there is no api for MRS, as we know.

    We have seen some migration utilities doing migration using EWS API, like CodeTwo, and also Transend Migrator. Can you please tell, if you know, how they are doing it.

    Thanks.


    Regards, David Johnson

    Thursday, January 22, 2015 2:00 PM
  • Maybe you're talking about copying items between an old mailbox and a new mailbox, rather than migrating the actual mailbox itself? If so, you can do export/import type operations with EWS: https://msdn.microsoft.com/EN-US/library/office/dn672316(v=exchg.150).aspx

    Thursday, January 22, 2015 2:38 PM
  • Hi,

    Thanks Jason for your post. Yes, that's what we want, and that's why I wrote 'Copy Emails' in the subject line. We just want to copy all the contents of an Exchange 2007 or exchange 2010 mailbox to a mailbox in Exchange 2013.

    We are going to explore this 'Export \ Import' operation in EWS API. Just a basic question, if you people can answer:

    Is this 'Export | Import' operation in EWS supported to work with Exchange 2007|2010 to Exchange 2013 import?

    Thanks.


    Regards, David Johnson

    Thursday, January 22, 2015 10:04 PM
  • I believe it should work, yes.

    Friday, January 23, 2015 5:51 PM
  • Hi,

    Thanks Jason for your post. Yes, that's what we want, and that's why I wrote 'Copy Emails' in the subject line. We just want to copy all the contents of an Exchange 2007 or exchange 2010 mailbox to a mailbox in Exchange 2013.

    We are going to explore this 'Export \ Import' operation in EWS API. Just a basic question, if you people can answer:

    Is this 'Export | Import' operation in EWS supported to work with Exchange 2007|2010 to Exchange 2013 import?

    Thanks.


    Regards, David Johnson


    Yes , it is supported, you will be exporting the mailbox to a PST then importing that PST into 2013. Similar to migrating from 2003 -> 2013.
    Friday, January 23, 2015 5:54 PM
  • Hi,

    Thanks Jason for the reply. We are going to test on b\w Exchange 2010 and 2013.

    The Grim: Please read the thread before replying :) Thanks.


    Regards, David Johnson


    Friday, January 23, 2015 5:58 PM
  • Hi,

    Thanks Jason for the reply. We are going to test on b\w Exchange 2010 and 2013.

    The Grim: Please read the thread before replying :) Thanks.


    Regards, David Johnson



    I did, :) Thanks.
    Friday, January 23, 2015 6:14 PM