Home  /  Blog  /  Solving Exchange Server Errors   /   Resolve Exchange Error New-MailboxExportRequest Access to Path is Denied

Resolve Exchange Error New-MailboxExportRequest Access to Path is Denied

Solving Exchange Server Errors, by

Errors are common while executing cmdlets in Exchange PowerShell. For example, when a user uses
New-MailboxExportRequest cmdlet to export primary mailbox or archive content to PST file.

[PS] C :\> New-MailboxExportRequest “user” -FilePath “\\servername\sharename\user.pst”

Note: This export command is available only in Exchange on-premises. And to use it, you need to add the account to Mailbox Import Export role group.

Though it is an easy command to execute, sometimes an error can pop up. The error that gets displayed is –

Unable to open PST file ‘\\servername\sharename\user.pst’. Error details: Access to the path ‘\\servername\sharename\output.pst’ is denied.
+ CategoryInfo : NotSpecified: (0:Int32) [New-MailboxExportRequest], RemotePermanentException
+ FullyQualifiedErrorId : D7BD75A8,Microsoft.Exchange.Management.RecipientTasks.NewMailboxExportRequest
‘\\servername\sharename\user.pst’

Reasons for ‘New-MailboxExportRequest Access to Path is Denied’ error

While executing the cmdlet, the PST file location parameter should be a UNC path. And, the location should be a shared network with Read & Write permissions for Exchange Trusted Subsystem. Also, the user account performing the actions should have Mailbox Import Export permissions assigned to it.

Causes of the error

Incorrect UNC path

Export-Import role not assigned

No permissions (Read & Write) to Exchange Trusted Subsystem

EASY SOLUTIONS TO FIX THE ERROR



We have 3 solutions to fix this error which can really work for you.

3 solutions to fix New-MailboxExportRequest access denied error

Let us consider manual solutions first for fixing the ‘Access path is denied’ error.

SOLUTION NO. 1 – ASSIGNING READ & WRITE PERMISSIONS

One of the reasons for the access path denied error is that the Exchange Trusted Subsystem does not have enough rights over the folder. You should grant the Exchange Server access to the shared drive (read and write permissions to the Exchange trusted subsystem group).

SOLUTION NO. 2 – ADDING THE USER ACCOUNT TO A ROLE GROUP WITH MAILBOX IMPORT-EXPORT PERMISSIONS

Users can create a new role group with Mailbox Import Export permissions and add the user to it.
To create a new role group, execute the following command:

New-RoleGroup -Name “Exchange Mailbox Import Export” -Roles “Mailbox Import Export”
-Members“Domain\exadmin”-Display Name”Exchange Mailbox Import Export”

Assigning Mailbox Export Import permissions to the account by this way will help you perform the export operation without errors.

Best of the solutions


SOLUTION No. 3 –
Using Kernel EDB to PST Converter Software

Rather than trying manual ways to export Exchange mailbox data to PST, you can do it simply by using Kernel EDB to PST Converter software. The solution swiftly exports Exchange database mailboxes to Outlook PST files without any disturbing errors. It also repairs any corruption in EDB file and offers to Office 365 migration as well.

Download Now

Conclusion

The frequently observed error – NewMailboxExportRequest (Access path is denied) can be fixed with different solutions. There are many limitations for the manual solutions. But Kernel EDB to PST Converter, an alternative third-party solution, can perform the conversion without any issues.

Leave a Reply

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