• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 527
  • Last Modified:

New-MailboxExportRequest

I'm having an issue with running a new-MailxboxExportRequest command against 2 mailboxes.  I'm receiving an error that I Couldn't connect to the source mailbox. --> MapiExceptionUnknownUser: Unable to make connection to the server.  I have full mailxbox access and have no problems with any other mailbox in the organization.

The only change was this use to be a linked mailbox that we converted to a user mailbox.  As part of this process we removed all smtp address and supplied a fake address to prevent mail flow.  I can run get-mailbox and get-mailboxstatisics against the mailbox all day long just can't connect via Outlook or run export processes.  

I'm at a lost here as to what the issue is.
0
georgedschneider
Asked:
georgedschneider
  • 6
  • 4
  • 2
1 Solution
 
Rajitha ChimmaniCommented:
To convert a mailbox from linked to user you must have disconnected and reconnected the mailbox back. If so, run the below command against the database where user mailbox resides and try accessing through outlook

Clean-MailboxDatabase "databasename"
0
 
georgedschneiderAuthor Commented:
Same result.
0
 
Rajitha ChimmaniCommented:
What happens when you try to connect through Outlook? If you can succeed there then your export would also be successful.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Rajitha ChimmaniCommented:
And hope you are providing the email address in the command New-MailboxExportRequest. Try that once.

Also, try to clear any old mailbox export requests and initiate a new one. Use the below command to clear any old requests

Get-MailboxImportRequest -Status Completed | Remove-MailboxImportRequest
0
 
georgedschneiderAuthor Commented:
Can't expand folder through outlook and OWA has a similar problem.  The issue appears to be MAPI related
0
 
georgedschneiderAuthor Commented:
I've tried with both alias and email address with the same result.
0
 
Rajitha ChimmaniCommented:
Please try to clear the export requests and paste the complete error information from the logs.
0
 
georgedschneiderAuthor Commented:
I need to keep the old requests I have on my system.  The export requests just fail for these 2 mailboxes.

Couldn't connect to the source mailbox.
    + CategoryInfo          : NotSpecified: (0:Int32) [New-MailboxExportRequest], RemotePermanentException
    + FullyQualifiedErrorId : BC78EA0B,Microsoft.Exchange.Management.RecipientTasks.NewMailboxExportRequest
0
 
Bill SmythSr. Systems EngineerCommented:
To resolve this issue, assign the Mailbox Import Export RBAC management role to the account. To do this, run the following cmdlet:
New-ManagementRoleAssignment -Name "name" -SecurityGroup "security_group_name" -Role "Mailbox Import Export"

https://support.microsoft.com/en-us/kb/2737545?wa=wsignin1.0
0
 
georgedschneiderAuthor Commented:
The account I was running it as has organizational management rights.
0
 
Bill SmythSr. Systems EngineerCommented:
It is odd Outlook will not connect either. Have you compared permissions against another working mailbox?
0
 
georgedschneiderAuthor Commented:
The issue had to do with the legacyexchnagedn name needed to be changed.  Once the value was setup correctly this resolved the issue.  This name was changed as part of a migration awhile back.  Once this was changed back to the original value this resolved the issue.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

  • 6
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now