<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Migration &#8211; Webbanshee</title>
	<atom:link href="https://webbanshee.net/tag/migration/feed/" rel="self" type="application/rss+xml" />
	<link>https://webbanshee.net</link>
	<description>Your Exchange Server Blog</description>
	<lastBuildDate>Thu, 28 Oct 2021 07:44:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://webbanshee.net/wp-content/uploads/2017/01/WB_BL_RND-150x150.png</url>
	<title>Migration &#8211; Webbanshee</title>
	<link>https://webbanshee.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">122610384</site>	<item>
		<title>Mailbox Locked Mailbox Move Issue</title>
		<link>https://webbanshee.net/mailbox-locked-mailbox-move/</link>
					<comments>https://webbanshee.net/mailbox-locked-mailbox-move/#respond</comments>
		
		<dc:creator><![CDATA[WebBanshee]]></dc:creator>
		<pubDate>Tue, 25 May 2021 07:58:02 +0000</pubDate>
				<category><![CDATA[Serverside]]></category>
		<category><![CDATA[2013]]></category>
		<category><![CDATA[2016]]></category>
		<category><![CDATA[2019]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[MailboxMove]]></category>
		<category><![CDATA[Migration]]></category>
		<guid isPermaLink="false">https://webbanshee.net/?p=3970</guid>

					<description><![CDATA[<style>.key{background:#444444;padding-left: 5px;padding-right: 5px;padding-top: 2px;padding-bottom: 2px;color:#fefefe;border-radius: 3px;font-size: 14px;}</style>
<p><a class="ex-link" href="https://webbanshee.net/mailbox-locked-mailbox-move/"><img style="border-radius:8px;" src="https://webbanshee.net/wp-content/uploads/2021/05/MailboxLocked_WB_net.svg"/><span class="exTeaser" style="width:70%;">Cannot move mailbox. Mailbox locked message appears: </span><br />
<span class="exText" style="width:70%;" >Informational: The request has been paused temporarily because the mailbox is locked. The Microsoft Exchange Mailbox Replication service will attempt to continue processing the request ...<span style="font-size: 11px !Important; width: 10%; height: 5%; color: #993333; padding-left: 20px;">......read more</span></span></a></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/mailbox-locked-mailbox-move/">Mailbox Locked Mailbox Move Issue</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">
<style><span style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" data-mce-type="bookmark" class="mce_SELRES_start">﻿</span>h2 {font-weight: bold;text-decoration:none;font-size: 18px!Important;}h3 {font-weight: bold;text-decoration:none;font-size: 18px!Important;} h5{margin-bottom: 5px;} .wp-image-2045,.wp-image-2051,.wp-image-2050,.wp-image-2049,.wp-image-2056, .wp-image-2055 {margin-top:2px!Important;margin-right:6px;} .wpe-box-alert {background-color:#f9f6d9!important;border: 1px solid #aaa895;text-align: justify;} .wpe-box-error1 {background-color:#ffebe8!important;border: 1px solid #c00;text-align: justify;} .wpe-box-alert ul li {list-style:square;padding-bottom: 10px;} .wpe-box-note99 ul li {list-style:square; padding-bottom:10px;}</style>
</p>
<p style="text-align: justify;">In this post, I would like to share how I got around a Mailbox Locked Mailbox Move issue. After we have successfully moved several hundred mailboxes to their new location some issues occurred with a few mailboxes.</p>
<p style="text-align: justify;">Moves for those mailboxes could not be started with the <a href="https://webbanshee.net/stalled-move-request/">-priority switch</a> due to the fact that the target location wasn&#8217;t on-premise.</p>
<p style="text-align: justify;">As a result, some of those boxes just stalled. Restarting the Mailbox Replication Service on the relevant source server did the trick. The stalled move requests could be reinitiated. Only one mailbox remained.</p>
<p style="text-align: justify;">However, the remaining mailbox was locked. I tried to move the mailbox to another mailbox database but received the same error as with the move-request:</p>
<div class="wpe-box wpe-box-alert"><span style="color: #2c2c2c; font-weight:bold;">Informational: The request has been paused temporarily because the mailbox is locked. The Microsoft Exchange Mailbox Replication service will attempt to continue processing the request after &#8230;</span></p>
<p><a href="https://webbanshee.net/wp-content/uploads/2021/05/MailboxLockedInfo.jpg"><img loading="lazy" class="aligncenter size-full wp-image-4006" src="https://webbanshee.net/wp-content/uploads/2021/05/MailboxLockedInfo.jpg" alt="Mailbox Locked Mailbox Move" width="502" height="61" srcset="https://webbanshee.net/wp-content/uploads/2021/05/MailboxLockedInfo.jpg 502w, https://webbanshee.net/wp-content/uploads/2021/05/MailboxLockedInfo-300x36.jpg 300w" sizes="(max-width: 502px) 100vw, 502px" /></a></div>
<p style="text-align: justify;">It seemed like the mailbox had a locked flag ( or something similar ) set in the information store of the source server that mounts the mailbox database for this mailbox. If so, I would have to restart the information store or reboot the server to wipe this flag. Not the first choice for a production server.</p>
<p>I never had this kind of mailbox locked mailbox move issue before.<br />
So I started to google and fortunately found this article on <a href="https://dirteam.com/bas/2019/04/08/exchange-migration-couldnt-switch-the-mailbox-into-sync-source-mode/" target="_blank" rel="noopener noreferrer">dirteam.com</a>.</p>
<p style="text-align: justify;">The article made me confident that it is most probably locked in the information store on the source server. Switching the mounted mailbox database where the locked mailbox resides to another server just did it. Simple as that. Thank you, DirTeam!</p>
<h4>Here the short procedure to solve the mailbox locked mailbox move issue:</h4>
<div class="wpe-box wpe-box-note3"><span style="font-weight: bold;">Check which mailbox database hosts the locked mailbox:</span><br />
<span style="font-weight: bold; color: #181818;">get-mailbox -Identity</span><span style="font-weight: bold; color: #993333;">&#8220;MailboxName&#8221;</span><span style="font-weight: bold; color: #181818;"> | select PrimarySmtpAddress, database</span></p>
<p><span style="font-weight: bold;">Note the database-name and display servers hosting the copies of this mailbox db:</span><br />
<span style="font-weight: bold; color: #181818;">Get-MailboxDatabaseCopyStatus</span> <span style="font-weight: bold; color: #993333;">&#8220;DatabaseName&#8221;</span></p>
<p><span style="font-weight: bold;">Mount the mailbox database on another server within the DAG:</span><br />
<span style="font-weight: bold; color: #181818;">Move-ActiveMailboxDatabase</span><span style="font-weight: bold; color: #993333;"> &#8220;DatabaseName&#8221;</span><span style="font-weight: bold; color: #181818;"> -ActivateOnServer</span> <span style="font-weight: bold; color: #993333;">&#8220;ServerHostingCopy&#8221;</span></p>
</div>
<p>After the mailbox database was mounted on another server I was able to start and complete the move of the last mailbox successfully.</p>
<p>Have a nice day!<br />
&nbsp;<br />
&nbsp;<br />
If you run into other issues with move requests this could also be of interest:</p>
<p><a class="wpe-button wpe-button-blue" href="https://webbanshee.net/tag/mailboxmove/">Mailbox Moves</a><br />
&nbsp;</p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/mailbox-locked-mailbox-move/">Mailbox Locked Mailbox Move Issue</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://webbanshee.net/mailbox-locked-mailbox-move/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3970</post-id>	</item>
		<item>
		<title>O365 PST Export</title>
		<link>https://webbanshee.net/o365-pst-export/</link>
					<comments>https://webbanshee.net/o365-pst-export/#respond</comments>
		
		<dc:creator><![CDATA[WebBanshee]]></dc:creator>
		<pubDate>Mon, 07 Jan 2019 18:03:37 +0000</pubDate>
				<category><![CDATA[Clientside]]></category>
		<category><![CDATA[Serverside]]></category>
		<category><![CDATA[2016]]></category>
		<category><![CDATA[Calendar]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[MailboxExport]]></category>
		<category><![CDATA[MailboxImport]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[O365]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[Powershell]]></category>
		<guid isPermaLink="false">http://webbanshee.net/?p=2032</guid>

					<description><![CDATA[<p><a class="ex-link" href="https://webbanshee.net/o365-pst-export/"><img src="https://webbanshee.net/wp-content/uploads/2019/01/O365ExportPST.gif" /><span class="exTeaser">At the end of the last year we had a request from an existing customer to export the content of a few mailboxes they had hosted on O365 servers.</span><br />
<span class="exText">In this O365 PST Export post I would like to share what we have learned and the most appropriate solution in our case. Read the whole experience here ...<span style="font-size: 11px !Important; width: 10%; height: 5%; color: #993333; padding-left: 20px;">...read more</span></span><br />
</a></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/o365-pst-export/">O365 PST Export</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></description>
										<content:encoded><![CDATA[<style type="text/css">.wpe-box-note {overflow-x: auto; white-space: nowrap;}.solution {display: inline;font-size: 12px; background-color: #abebc6; margin-top: -4px; margin-left:6px; padding: 1px 5px 2px 5px;vertical-align:top; border-radius: 2px;}.learned {display: inline;font-size: 12px; background-color:  #fadbd8 ; margin-top: -4px; margin-left:6px; padding: 1px 5px 2px 5px;vertical-align:top; border-radius: 2px;}.number {margin-top: 2px !Important; padding-right: 5px; }</style>
<p>At the end of the last year we had a request from an existing customer to export the content of a few mailboxes they had hosted on O365 servers. In this O365 PST Export post I would like to share what we have learned and the most appropriate solution in our case.<br />
The customer did not want to get technically involved into this migration. We specified the parameters for the exports and they gave us an admin account for their O365 tenant.</p>
<p>First I would like to point out that the solution or workaround we have used here is only appropriate for a smaller number of mailboxes, since manual interaction is needed.</p>
<p>The whole experience :</p>
<h4><img class="alignnone size-full wp-image-2045 number" src="https://webbanshee.net/wp-content/uploads/2019/01/round_1.svg" alt="1-" /> Prepare an account on source side with FullAccess to all mailboxes <span class="solution">Solution</span></h4>
<p>We have created a migration user in O365 with mailbox and granted FullAccess permission on all mailboxes in the customers O365 tenant.<br />
It is faster to do this via remote-powershell. Connect and enter your credentials :</p>
<div class="wpe-box wpe-box-note"><span style="color: #cc6600;">$Credential = Get-Credential</span><br />
<span style="color: #cc6600;">$ExchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri “https://outlook.office365.com/powershell-liveid” -Credential $credential -Authentication “Basic” -AllowRedirection</span><br />
<span style="color: #cc6600;">Import-PSSession $ExchangeSession</span></div>
<p>Once logged in grant FullAccess on all mailboxes to the migration user without Automapping.<br />
Do not activate Automapping  because we will use Outlook for a proper O365 pst export.</p>
<div class="wpe-box wpe-box-note">Get-Mailbox | Add-MailboxPermission -User <span style="color: #993333;">migrationuser@customerdomain.com</span> -Accessrights <span style="color: #993333;">FullAccess</span> -InheritanceType <span style="color: #993333;">All</span> -Automapping <span style="color: #993333;">$False</span></div>
<h4><img class="alignnone size-full wp-image-2051 number" src="https://webbanshee.net/wp-content/uploads/2019/01/round_2.svg" alt="2-" />O365 pst export via GUI<span class="learned">Learned</span></h4>
<p>To bring it straight to the point. The outcome of this method didn&#8217;t fit our needs in any way. An eDisocvery will be performed and the results will be available for download in .pst format.<br />
Unfortunately these .pst files have a folder structure beginning with the mailboxname , one level down you find ( in our case ) an ApplicationDataRoot  folder and the Top Of Information Store folder. The real mailbox structure begins here :</p>
<p>It would be confusing to anyyone to adapt these folder structures on the target mailboxes.</p>
<div style="display: block; width: 100%;">
<div class="wpe-col wpe-col-12-12">
<div class="wpe-col-1">
<div class="wpe-box wpe-box-note">
<p><a href="https://webbanshee.net/wp-content/uploads/2019/01/O365_PST.png"><img loading="lazy" class="aligncenter wp-image-2063 size-medium" src="https://webbanshee.net/wp-content/uploads/2019/01/O365_PST-246x300.png" alt="O365 PST Export" width="246" height="300" srcset="https://webbanshee.net/wp-content/uploads/2019/01/O365_PST-246x300.png 246w, https://webbanshee.net/wp-content/uploads/2019/01/O365_PST.png 296w" sizes="(max-width: 246px) 100vw, 246px" /></a></p>
</div>
</div>
<div class="wpe-col-2">
<div style="margin-top: 20px;"></div>
</div>
</div>
</div>
<p>Since this method did not provide a real solution I will not go into details on how to make an O365 pst export via GUI.</p>
<h4><img class="alignnone size-medium wp-image-2050 number" src="https://webbanshee.net/wp-content/uploads/2019/01/round_3.svg" alt="3 -" />Connect migration mailbox via Outlook and export mailboxes <span class="solution">Solution</span></h4>
<p>This step is the main part of the solution and why I mentioned at the beginning that it is only suitable for few .pst exports. We have connected the mailbox of the migration user via autodiscover and an Outlook 2016 client. This was the host for the evening <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The next step was to disable Cached Mode. Outlook should be in online mode to prevent data loss through synchronization issues. This is also the cause for disabling Automapping. Outlook limits the auto mapped delegate mailboxes to 10 ( we had over 20 ). Further would Outlook have been overwhelmed with so many shared mailboxes in online mode.</p>
<p>After this we manually mapped the 1st mailbox to export ( Online Mode ! Important ! ) within the profile of the migration user. You can check the folder sizes on the server via right click on the root of the mapped mailbox &gt; Outlook Datafile Properties.  Depending on the size of the source mailbox the O365 pst export can take an extended amount of time. The O365 server provided a good performance in download speeds but some mailboxes were about 18 GB.<br />
We have experienced 2 or 3 connection losses to the O365 server at our first test. The final migration took place on a weekend. There were no further problems then.</p>
<p>Export the O365 mailbox via Outlook to a pst file :</p>
<div class="wpe-box wpe-box-note">
<p style="text-align: center;"><a href="https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_01.png"><img loading="lazy" class="aligncenter wp-image-2066 size-medium" src="https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_01-300x226.png" alt="O365 PST Export" width="300" height="226" srcset="https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_01-300x226.png 300w, https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_01.png 476w" sizes="(max-width: 300px) 100vw, 300px" /></a><img loading="lazy" class="aligncenter wp-image-2069 size-medium" src="https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_02-300x232.png" alt="O365 PST Export" width="300" height="232" srcset="https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_02-300x232.png 300w, https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_02.png 437w" sizes="(max-width: 300px) 100vw, 300px" /><a href="https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_03.png"><img loading="lazy" class="aligncenter wp-image-2070 size-medium" src="https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_03-300x233.png" alt="O365 PST Export" width="300" height="233" srcset="https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_03-300x233.png 300w, https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_03.png 437w" sizes="(max-width: 300px) 100vw, 300px" /></a><a href="https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_4.png"><img loading="lazy" class="aligncenter wp-image-2071 size-medium" src="https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_4-300x231.png" alt="O365 PST Export" width="300" height="231" srcset="https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_4-300x231.png 300w, https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_4.png 429w" sizes="(max-width: 300px) 100vw, 300px" /></a><br />
Choose how to handle duplicates.<br />
Allow duplicate items is the best choice to avoid data loss</p>
<p><a href="https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_05.png"><img loading="lazy" class="aligncenter wp-image-2072 size-medium" src="https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_05-300x226.png" alt="O365 PST Export" width="300" height="226" srcset="https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_05-300x226.png 300w, https://webbanshee.net/wp-content/uploads/2019/01/Outlook_PST_Export_05.png 438w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
</div>
<h4><img class="alignnone size-medium wp-image-2049 number" src="https://webbanshee.net/wp-content/uploads/2019/01/round_4.svg" alt="4-" />Additionally Export Calendar as PST<span class="solution">Solution</span><span class="learned">Learned</span></h4>
<p>In our tests we noticed that after an O365 pst export has been imported into the new target mailbox , there were no calendar entries. When querying the import request statistics with -includereport it turns out that all calendar entries have been treated as corrupted items. ( which counts against the bad item limit ). So the mailbox-importrequest needs to be triggered with a high bad item limit and -AcceptLargeDataLoss  or the calendar needs to be excluded from the import request.</p>
<p>To only export the calendar repeat the steps shown in the screenshots under point 3. Choose only the the calendar instead of the whole mailbox. When the calendar has sub folders ( what most likely is the case ) keep &#8220;Include subfolders&#8221; ticked.<br />
We made these exports available for download to to the customer. End users were then able to map only the small calendar pst into their Outlook Client and drag the relevant items into their new mailbox calendar.</p>
<h4><img class="alignnone size-medium wp-image-2056 number" src="https://webbanshee.net/wp-content/uploads/2019/01/round_5.svg" alt="5 -" />Import the O365 PST export to the target mailbox <span class="solution">Solution</span></h4>
<p>In compliance with the customer we have chosen to raise the bad limit in the mailbox-importrequest. The detailed import logs were provided to the customer as well. We use the -Priority Emergency switch to prevent an import request from <a href="https://webbanshee.net/stalled-move-request/" target="_blank" rel="noopener noreferrer"><strong>stalling like described here</strong></a></p>
<div class="wpe-box wpe-box-note">
<p>New-MailboxImportRequest -Name <span style="color: #993333;">IndivudalMailboxName</span> -BatchName <span style="color: #993333;">NameOfTheBatch</span> -FilePath <span style="color: #993333;">\\Server\Folder\NameOfPST.pst</span> -Mailbox <span style="color: #993333;">TargetMailbox</span> -BadItemLimit <span style="color: #993333;">10000</span> -LargeItemLimit <span style="color: #993333;">10000</span> -AcceptLargeDataloss -priority <span style="color: #993333;">Emergency</span></p>
</div>
<p>Track the import request with :</p>
<div class="wpe-box wpe-box-note">
<p>Get-MailboxImportRequest -name <span style="color: #993333;">IndivudalMailboxName</span> | Get-MailboxImportRequestStatistics <span style="color: #993333;">-IncludeReport</span> | fl<span style="color: #993333;"> report, *transfer*, bad*, *status*,percent*, *failure*</span></p>
</div>
<p>Copy the full report to the clipboard so that you can insert it into a text file :</p>
<div class="wpe-box wpe-box-note">
<p>Get-MailboxImportRequest -name <span style="color: #993333;">IndivudalMailboxName</span> | Get-MailboxImportRequestStatistics <span style="color: #993333;">-IncludeReport</span> | fl | <span style="color: #993333;">clip</span></p>
</div>

<h4><img class="alignnone size-medium wp-image-2055 number" src="https://webbanshee.net/wp-content/uploads/2019/01/round_6.svg" alt="6 -" />Export and Import the next mailbox<span class="solution">Solution</span></h4>
<p>Close the mailbox &#8211; you just have exported and imported &#8211; in Outlook and map the next mailbox into the profile of the migration user. Repeat steps <img class="alignnone size-medium wp-image-2050 number" src="https://webbanshee.net/wp-content/uploads/2019/01/round_3.svg" alt="3 -" />to <img class="alignnone size-medium wp-image-2056 number" src="https://webbanshee.net/wp-content/uploads/2019/01/round_5.svg" alt="5 -" /></p>
<p>I hope this helps should you face the same problem with an O365 pst export.<br />
If you know a more efficient way , where the effort fits the benefit , it would be nice to hear it. I know this is not the most elegant way to do this. But there was no other choice for this small quantity of mailboxes.</p>
<p>Have a nice day !</p>
<p><a class="wpe-button wpe-button-red" href="https://webbanshee.net/mailbox-import-request-language/">See how to import mailbox content with language settings</a></p>
<p>The post <a rel="nofollow" href="https://webbanshee.net/o365-pst-export/">O365 PST Export</a> appeared first on <a rel="nofollow" href="https://webbanshee.net">Webbanshee</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://webbanshee.net/o365-pst-export/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2032</post-id>	</item>
	</channel>
</rss>
