Tuesday, September 30, 2014

THE TERM "NEW-MAILBOXEXPORTREQUEST" IS NOT RECOGNIZED

THE TERM "NEW-MAILBOXEXPORTREQUEST" IS NOT RECOGNIZED

I was recently attempting to run a mailbox export request to a PST file in Exchange 2010 Service Pack 3, on running the New-MailboxExportRequest cmdlet, I was presented with the following error message:

The term "New-MailboxExportRequest" is not recognized.

In order to resolve this issue I had to grant the account performing the export request the ‘Import Export Mailbox’ role assignment as below.

New-ManagementRoleAssignment –Role "Mailbox Import Export" –User "DOMAIN\USER"

Once I restarted my powershell session, I was able to succesfully run the New-MailboxExportRequest cmdlet.

http://deangrant.wordpress.com/2013/10/04/the-term-new-mailboxexportrequest-is-not-recognized/

===

This cmdlet is available only in the Mailbox Import Export role, and by default, that role isn't assigned to a role group. To use this cmdlet, you need to add the Mailbox Import Export role to a role group (for example, to the Organization Management role group). For more information, see the "Add a role to a role group" section in Manage role groups.

http://technet.microsoft.com/en-us/library/ff607299.aspx

No comments: