{"id":321,"date":"2018-07-29T09:09:42","date_gmt":"2018-07-29T14:09:42","guid":{"rendered":"http:\/\/zewwy.ca\/?p=321"},"modified":"2018-09-21T18:29:54","modified_gmt":"2018-09-21T23:29:54","slug":"new-mailboximportrequest-failed","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2018\/07\/29\/new-mailboximportrequest-failed\/","title":{"rendered":"New-MailboxImportRequest Failed"},"content":{"rendered":"<p>This is going to be another short post.<\/p>\n<p>Working on an Exchange migration this weekend, I was using our backup software to simply export users mailbox&#8217;s from the most recent backup of your old Exchange server, then importing them into the new Exchange server for each mailbox after creation.<\/p>\n<p>I would have loved to have simply selected each user as a whole and import those pst files. However from testing showed it simply created a sub item with the users name and all their folders, instead of properly placing them under the primary parent hierarchy. So I was forced to export Each item individually (Inbox, Sent Items,Drafts, Etc) and Import them. I initially didn&#8217;t script this as there were only about 30-40 users I had to migrate, i figured it was easier to just go through the wizards&#8230; until I discovered some users created folders outside of their Inbox! Ohhh boy&#8230;. Anyway, turns out if you exceed 9 imports for a single mailbox without specifying a special name for it (even after they succeed) you will get en error as follows:<\/p>\n<p>&#8220;The name must be unique per mailbox. There isn\u2019t a default name available for a new request owned by mailbox xyz&#8221;<\/p>\n<p>The solution was easy <a href=\"https:\/\/bricep.net\/mailboximportrequest-fails\/\">enough to find<\/a> a good band-aid indeed.<\/p>\n<pre>Get-MailboxImportRequest -status completed | Remove-MailboxImportRequest<\/pre>\n<p>However sometimes in my case I found I was still getting there error even though I cleared all completed import requests (with default names obviously). I found out I was having a weird bug happen to be where imports where showing as Queued, yet if I piped them into Get-MailboxImportRequestStatstics | Select Status, they reported a status of Completed&#8230;(If you want all the details, pipe into Format-List, instead of Select)<\/p>\n<pre>Get-MailboxImportRequest -status Queued | Get-MailboxImportRequestStatstics | Select Status<\/pre>\n<p>lol I wasn&#8217;t sure what to make of this but there was 2 solutions.<\/p>\n<ol>\n<li>Clear the &#8220;Queued&#8221; imports that are really Completed.<\/li>\n<li>Give your new import a unique name using the -name parameter<\/li>\n<\/ol>\n<p>I&#8217;ll admit though Exchange 2016 is more intuitive to manage then old Exchange 2010.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is going to be another short post. Working on an Exchange migration this weekend, I was using our backup software to simply export users mailbox&#8217;s from the most recent backup of your old Exchange server, then importing them into the new Exchange server for each mailbox after creation. I would have loved to have &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2018\/07\/29\/new-mailboximportrequest-failed\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;New-MailboxImportRequest Failed&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[36,8],"tags":[37,39,38],"class_list":["post-321","post","type-post","status-publish","format-standard","hentry","category-exchange","category-server-administration","tag-exchange","tag-failed","tag-import"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=321"}],"version-history":[{"count":6,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/321\/revisions"}],"predecessor-version":[{"id":326,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/321\/revisions\/326"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}