Exchange – “Access to the path is denied” – New-MailboxExportRequest

When export a PST using the New-MailboxExportRequest command, a UNC path is a mandatory parameter to set the target folder where the PST file will be saved.
Probably, that folder will not have the correct to permissions to allow Exchange to write into it, so the command would return this error:

[PS] C:\> New-MailboxExportRequest "user1" -FilePath "\\MYSERVER\PST\user1.pst"
Unable to open PST file '\\MYSERVER\PST\user1.pst'. Error details: Access to the path '\\MYSERVER\PST\user1.pst' is denied.
    + CategoryInfo          : NotSpecified: (:) [New-MailboxExportRequest], RemotePermanentException
    + FullyQualifiedErrorId : [Server=MYEMAILSERVER,RequestId=23983583-a349-4c96-bb11-edb7d52b1a0a,TimeStamp=4/4/2016 6:55:33 AM] [FailureCategory=Cmdlet-RemmanentException] 6DE05BB8,Microsoft.Exchange.Management.RecipientTasks.NewMailboxExportRequest

To solve the problem, we have to grant permissions to the "Exchange Trusted Subsystem" group to allow it to read/write in that folder:

Exchange - Access to the path is denied - New-MailboxExportRequest_1

3 thoughts on “Exchange – “Access to the path is denied” – New-MailboxExportRequest

  1. That’s the fix I needed!
    I got this error when I was trying to export mailboxes as PST’s to a shared folder on a Synology RackStation.
    After adding the RackStation to our AD domain, and giving the Exchange Trusted Subsystem group read/write permission, it worked perfectly. – Thanks!

  2. I’ve done this and checked all permissions to 2 of our PST folders, as well as my own PC on the domain, being a domain admin still doesn’t work. I’ve launched Exchange PS tools as administrator just to make sure. Tried the GUI method under Recipient Management and assigned the role, powershell security group method of creating a universal security group and giving if the “Mailbox Import Export” assignment. No go. Still the same “Access denied” error. Unable to open PST file.

Leave a Reply

Your email address will not be published. Required fields are marked *