Import .PST File


  • Hi,

    A company which had there emails on our exchange server has just moved to a new domain and moved to office 365.

    I was thinking of backing up their mailbox on a PST and then upload the PST to their office 365 and copy the mail to their Inbox.

     I am trying to upload it with Microsoft Azure Storage Tools. The following error is prompting and I am sure that the path is entered good. I also tried changing paths.

    The following is the error. Do you have an idea what is causing this or maybe is there any other way how I can upload my PST or a diffrent method of how I can import their mailbox?

    2015/07/21 15:39:06.741+02:00] >>>>>>>>>>>>>>>>
    [2015/07/21 15:39:06.746+02:00][VERBOSE] 3.1.0 : AzCopy /source:<path> /dest:https://dest / /Destkey:****** /v:\uploadlog.log
    [2015/07/21 15:39:06.781+02:00][WARNING] The command line "azcopy /source:<path> /dest:<path> /Destkey:****** /v:uploadlog.log" in the journal file "C:\Users\user\AppData\Local\Microsoft\Azure\AzCopy\AzCopy.jnl" is different from your input.
    [2015/07/21 15:39:06.783+02:00][WARNING] Incomplete operation with different command line detected at the journal directory "C:\Users\Adrian\AppData\Local\Microsoft\Azure\AzCopy".
    [2015/07/21 15:39:14.158+02:00][VERBOSE] [PROMPT] Do you want to overwrite the journal to start a new operation? Choose Yes to overwrite, choose No to cancel current operation. (Yes/No) : Y
    [2015/07/21 15:39:14.803+02:00][ERROR] Error parsing source location "<path>": Cannot find the path <path>
    [2015/07/21 15:39:14.805+02:00][ERROR] Microsoft.WindowsAzure.Storage.DataMovement.TransferException: Cannot find the path <path>\'. ---> System.IO.DirectoryNotFoundException: Cannot find the path <path>
    at Microsoft.WindowsAzure.Storage.AzCopy.EnumerationHelpers.EnumerateDirectoryHelper.EnumerateFiles(String path, String searchPattern, String fromFilePath, SearchOption searchOption, CancellationToken cancellationToken)
    at Microsoft.WindowsAzure.Storage.AzCopy.EnumerationHelpers.FileSystemLocation.<EnumerateLocation>d__0.MoveNext()
    --- End of inner exception stack trace ---
    at Microsoft.WindowsAzure.Storage.AzCopy.AzCopy.ExecuteTransfer(Exception& listFilesException)

    Thanks & Regards,


    Wednesday, July 22, 2015 7:43 AM


  • it looks like you are not adding a path at the end of the /Destkey

    it should look something like$/pst/test/ /Destkey

    Monday, July 27, 2015 11:58 PM

All replies

  • Hi joswoody,

    Could you add the exact commandline statement to you post? Just so we can confirm, as you did yourself, that there are not typos in it.

    If the command used is not the issue, the error message would be really odd. Unless there is a access restriction issue but that should result in a different message.

    Never miss the latest Windows Azure news on

    Wednesday, July 22, 2015 7:53 AM
  • AzCopy /source:\\\e$\pst\test\backup-test.pst /dest:https://f5b****** /Destkey:****** /v:c:\Users\Jos\Desktop\uploadlog.log
    Wednesday, July 22, 2015 8:00 AM
  • Hi Jos,

    According to the AZCopy documentation only file system directories, blob containers or blob virtual directories (f.e. '/' in the blob name to emulate subfolders).

    To confirm this I tried using:

    mklink /d "c:\FolderOnMachineRunningAZCopy\link" "\\TheMachineHoldingTheFiles\Share\"

    AzCopy /source:c:\FolderOnMachineRunningAZCopy\link\Text.txt


    net use x: \\TheMachineHoldingTheFiles\Share

    AzCopy /source:x:\Folder\Test.txt

    Both both methods return the same error (cannot find path).

    Does this confirm and answer your question?

    Never miss the latest Windows Azure news on

    • Proposed as answer by Valery Jacobs Thursday, July 23, 2015 7:59 PM
    Wednesday, July 22, 2015 9:30 AM
  • Yes the same error code will return if I try and use both.


    Wednesday, July 22, 2015 10:20 AM
  • it looks like you are not adding a path at the end of the /Destkey

    it should look something like$/pst/test/ /Destkey

    Monday, July 27, 2015 11:58 PM