Tuesday, September 30, 2014

export exchange server 2013 mailbox error

get-mailbox

New-MailboxExportRequest -Mailbox "USER_NAME" -FilePath \\fs\Public\tmp\mailbox_exported\test.pst

The New-MailboxExportRequest (and New-MailboxImportRequest) cmdlet requires a UNC path for the FilePath parameter instead of the local directory (ex: c:\tmp). However, if the share and NTFS permissions aren’t set correctly on the destination path, you could get an error like this one.

Unable to open PST file '\\fs\Public\tmp\mailbox_exported\test.pst'. Error details: Access to the path '\\fs\Public\tmp\mailbox_exported\test.pst' is denied.

The problem is that the New-MailboxExportRequest and New-MailboxImportRequest cmdlets don’t run in the user context, but in the machine context. You need to give the Exchange server access to the shared drive. So if you are running the cmdlet on ExServer01, add ExServer01 to the share and NTFS permissions for \\servername\sharename so it can read and write data.

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&ved=0CDUQFjAC&url=http%3A%2F%2Fexchangetips.us%2F2012%2F04%2Fnew-mailbox-export-request-returns-access-denied%2F&ei=W5EqVOL5Kc_QoATQ6IDIBA&usg=AFQjCNFgdg5X5Shdl6lfeWaJAjeaRY0TyA&sig2=FpW8HgVUxs3i91slevwDXA

No comments: