Exchange Server TechCenter >
Exchange Server Forums
>
Admin
>
Another problem with export-mailbox to pst
Another problem with export-mailbox to pst
- Hi,
I try to use the cmdlet export-mailbox to pst.
(I always do export after using the add-mailboxpermission to give full access )
with this command :
export-mailbox -identity $login -pstfolderpath c:\test\export.pst
....Export is OK, no error
when I use:
export-mailbox -identity $login -pstfolderpath c:\test\export-diff.pst -StartDate 2009/03/01
...Export begins, but stop/end with error:
MAPI ou fournisseur de services non spécifié.
N° ID : 00000000-0000-00000000, code d'erreur : -1056749164
But, the exported pst is successfully created, and seems to have all the emails from the request date and later.
Also the error message seems to be a false warning !?
Could someone confirm (export ok with false warning) or is the error real ?
configuration:
windows 2003 x64 exchange 2007 SP1 update rollup 6
export from windows 2003 32b + outlook 2007 + exchange admin tools (2007 SP1 update rollup 6)
Thanks
All Replies
- Looks like it is a fake message that Export-Mailbox throws though it does its work. Not sure if that is because of Windows Server 2003 32 Bit, did not check if that could be a problem. But on technical part of this... The error code -1056749164 translates into JET_wrnNyi (ESE98 Code) which further translates into "The function is not yet implemented". The other part of the same error is MAPI_DIAG_NO_DIAGNOSTIC which is considered to be a value of a property PR_NDR_DIAG_CODE which has nothing to do with export mailbox I believe.
I can think of looking at logs located at <ExchangeRoot>\Logging\MigrationLogs\ and see if they can help for the diagnosing the problem.
May be that gives you some directives to dig into it further.
Bottomline is dont worry about though it throws an error :-)
M
Milind Naphade - Bad news, it's not a false warning :(
I do more tests , and carefully review messages exported in the destination PST file:
- when export-mailbox stop while exporting INBOX, all subsequent folders are empty
- when I use "-startdate 2009/04/01", some messages received on 2009/03/30 are exported !? (maybe -startdate don't use the received date we can view in outlook, but use another (hidden?) date from another MAPI prorerty ? Or maybe -startdate is a little buggy ?)
Log files in <ExchangeRoot>\Logging\MigrationLogs\ don't show more info (only the same error code -1056749164 and MAPI ID 00000000-0000-00000000)
Googling "export-mailbox PST error code -1056749164" show a lot of items. I feel not alone with my errors :)....but no solution yet.
When I use different mailbox as source for the export-mailbox, I always see the same behavior :
without "-startdate" everyting go fine, with "startdate" I always get an error...grrrrrr !
I will continue to do some tests
Thanks for any advices, ideas...
JM Well, what I wrote earlier was all based on my previous experience related to that error code. This used to happen with ExMerge several times. I think I will research on it again and get back to you, meanwhile you can wait for others to comment on it. Hopefully, someone finds it faster than me ;)
Thanks for the update though :)
M
Milind Naphade | MCTS:M | http://www.msexchangegeek.com- JM,This seems to be a permission issue. Suggest you to create a new user account, do NOT add into Domain, Enterprise or Admin groups. Give just below permission required for Export-Mailbox.Exchange Server Administrator role for the source server and the target serverLocal Administrators group for the source server and the target serverFull access to the source mailbox.You can also add -Verbose switch into your Export-Maibox cmdlet to troubleshoot further becuase it gives you detail of each and every steps of cmdlet and you can identify at which stage it gets error.Also make sure that you are running Exchange on latest SP & UR.
Amit Tank | MVP - Exchange | MCITP:EMA MCSA:M | http://ExchangeShare.WordPress.com- Unproposed As Answer byJM-H Wednesday, April 08, 2009 8:51 AM
- Unproposed As Answer byAmit TankMVP, ModeratorWednesday, April 08, 2009 6:13 AM
- Proposed As Answer byAmit TankMVP, ModeratorWednesday, April 08, 2009 6:13 AM
- Proposed As Answer byAmit TankMVP, ModeratorMonday, April 06, 2009 4:21 AM
- Hi,
I allready use a account with no domain admin permission but with exchange organizational admin and server admin rights.
I don't have a "target server". I want to export from Exchange to PST files.
I allready use -verbose and -debug : this options don't give more info about this error.
I don't think it's a permission issue because :
export-mailbox -identity $login -pstfolderpath c:\test\export.pst : works OK
export-mailbox -identity $login -pstfolderpath c:\test\export.pst -startDate $someDate : don't work.
If permissions are problematic then the first command (without '-stardate') won't work too.
Thanks for your comment....Another ideas ?
jm - Hey JM,
I tried to repro this issue but seems like it didnt go the way I wanted. Probably I am missing on something. Can you please tell me what does "$login" means in your command? I dont know what that is but I guess the -Identity support
Alias
Simple Mail Transfer Protocol (SMTP) address
Display name
Parameters only.
Thanks,
M
Milind Naphade | MCTS:M | http://www.msexchangegeek.com - Hi,
Yes $login represente the alias of the user mailbox. ( In our setup alias = windows username)
Thanks
jm - Alright! Thanks,
What happens if you run the command as below:
Export-Mailbox -identity alias -pstfolderpath "c:\test\" -StartDate "2009/03/01". Things to note here are, do not specify the name for the target PST file and enclose parameter values for -PSTFolderPath and -StartDate.
M
Milind Naphade | MCTS:M | http://www.msexchangegeek.com - Guys we are having the same problem i can not use Export-Mailbox with a Startdate or EndDate without getting the same error was this ever resolved?
- Hi,
No. No solution for me.
I'm not working on exchange in the last month, so i don't now if latest rollup change something.
..I'm back in business now with upgrade to exchange 2007 SP2 and exchange 2010, and i probably try againt this export-pst/stardate task.
jm


