<?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/"
	>

<channel>
	<title>mailbox Archives - Wiredwolf Canada</title>
	<atom:link href="https://catastrophe.wiredwolf.com/tag/mailbox/feed/" rel="self" type="application/rss+xml" />
	<link>https://catastrophe.wiredwolf.com/tag/mailbox/</link>
	<description></description>
	<lastBuildDate>Tue, 28 May 2019 17:16:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>From Office 365 to On-Premises Exchange</title>
		<link>https://catastrophe.wiredwolf.com/from-office-365-to-on-premises-exchange/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 28 May 2019 17:15:20 +0000</pubDate>
				<category><![CDATA[Microsoft Exchange]]></category>
		<category><![CDATA[Microsoft Office 365]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[mailbox]]></category>
		<category><![CDATA[move mailbox]]></category>
		<category><![CDATA[Office 365]]></category>
		<guid isPermaLink="false">http://catastrophe.wiredwolf.com/?p=16327</guid>

					<description><![CDATA[<p>Recently I was tasked with doing a Hybrid Exchange to Office 365 migration.  In my testing phases I converted two client mailboxes (of departed staff) to Office 365 mailboxes, but then realized when I re-allocated the licensing for each mailbox I orphaned these two mailboxes on Office 365.  The on-premises Exchange showed the mailboxes were  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/from-office-365-to-on-premises-exchange/">From Office 365 to On-Premises Exchange</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Recently I was tasked with doing a Hybrid Exchange to Office 365 migration.&nbsp; In my testing phases I converted two client mailboxes (of departed staff) to Office 365 mailboxes, but then realized when I re-allocated the licensing for each mailbox I orphaned these two mailboxes on Office 365.&nbsp; The on-premises Exchange showed the mailboxes were now Office 365 mailboxes, but because the accounts no longer had any licensing they didn&#8217;t show up as mailboxes.</p>
<p>Fearing this would cause a problem I tried to batch-convert the mailboxes back to on-premises Exchange.&nbsp; This failed. Instead of looking for a solution why the wizard failed, I decided to look for a Powershell solution.</p>
<p>It turns out it&#8217;s rather easy to do.&nbsp; You already have the Hybrid configuration in place so the endpoints already know about one another.&nbsp; Moving mailboxes around in PowerShell is the easiest solution.</p>
<p>Prerequisites:</p>
<ul>
<li>Domain Admin credentials</li>
<li>Office 365 Global Admin credentials</li>
<li>Database name of On-Premises Exchange</li>
</ul>
<p>Open a PowerShell instance &#8220;as administrator&#8221; and execute these commands:</p>
<ul>
<li>
<blockquote><p>Set-ExecutionPolicy RemoteSigned</p></blockquote>
</li>
<li>
<blockquote><p>$UserCredential = Get-Credential</p></blockquote>
</li>
<li>
<blockquote><p>$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.ofice365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection</p></blockquote>
</li>
<li>
<blockquote><p>Import-PSSession $Session -DisableNameChecking</p></blockquote>
</li>
<li>
<blockquote><p>$opcred = get-credential domain\domainadmin</p></blockquote>
</li>
<li>
<blockquote><p>Get-mailbox -identity user@domain.com | New-MoveRequest -OutBound -RemoteTargetDatabase &#8216;ON-PREM-EXCHANGE-DB&#8217; -RemoteHostName &#8216;mail.domain.com&#8217; -RemoteCredential $opcred -TargetDeliveryDomain &#8216;domain.com&#8217;</p></blockquote>
</li>
</ul>
<p>You can check in the status of your mailbox move:</p>
<ul>
<li>
<blockquote><p>Get-MoveRequest</p></blockquote>
</li>
</ul>
<p>This doesn&#8217;t really tell you a whole lot.&nbsp; It shows the existence of a request, but it doesn&#8217;t give you a real status.&nbsp; A better way is:</p>
<ul>
<li>
<blockquote><p>Get-MoveRequest | Get-MoveRequestStatistics</p></blockquote>
</li>
</ul>
<p>This shows you the stage of the request, the status of the request, the size of the mailbox being moved, and a percentage of progress.&nbsp;</p>
<p>You can queue up as many of these as you like and monitor the progress of all of them using these commands.&nbsp;&nbsp;</p>
<p>When you&#8217;re done you should remove the requests that have been completed or failed:</p>
<ul>
<li>
<blockquote><p>Get-MoveRequest | where {$_.status -eq &#8220;Completed&#8221;| Remove-MoveRequest</p></blockquote>
</li>
<li>
<blockquote><p>Get-MoveRequest | where {$_.status -eq &#8220;Failed&#8221;| Remove-MoveRequest</p></blockquote>
</li>
</ul>
<p>&nbsp;</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/from-office-365-to-on-premises-exchange/">From Office 365 to On-Premises Exchange</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
