{"id":2070,"date":"2017-04-14T19:01:52","date_gmt":"2017-04-14T19:01:52","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=2070"},"modified":"2017-04-14T19:07:53","modified_gmt":"2017-04-14T19:07:53","slug":"migrate-exchange-on-prem-user-to-o365","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=2070","title":{"rendered":"Migrate Exchange on-prem user to O365"},"content":{"rendered":"<h2><strong>Migrate users<\/strong><\/h2>\n<p><strong><em>a. Connect to Exchange On-line<\/em><\/strong><\/p>\n<p>From the PowerShell console on an Exchange 2010 server:<\/p>\n<p><span style=\"color: #ff0000;\">$Cred = Get-Credential<\/span><br \/>\n<span style=\"color: #ff0000;\"> $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https:\/\/ps.outlook.com\/powershell -Credential $cred -Authentication Basic \u2013AllowRedirection<\/span><\/p>\n<p><span style=\"color: #ff0000;\">Import-PSSession $s<\/span><\/p>\n<p>Type in your ada credentials with username of &lt;username&gt;@domain.com<br \/>\nType in your ada credentials with username of domain\\&lt;username&gt;<br \/>\n<em><strong>b. Run command to migrate user<\/strong><\/em><\/p>\n<p><span style=\"color: #ff0000;\">New-MoveRequest \u2013Identity &lt;username or display name in quotes&gt; -Remote -RemoteHostName autodiscover.companydomain.com -TargetDeliveryDomain companydomain.mail.onmicrosoft.com -RemoteCredential (Get-Credential) -BadItemLimit 40<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Migrate users a. Connect to Exchange On-line From the PowerShell console on an Exchange 2010 server: $Cred = Get-Credential $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https:\/\/ps.outlook.com\/powershell -Credential $cred -Authentication Basic \u2013AllowRedirection Import-PSSession $s Type in your ada credentials with username of &lt;username&gt;@domain.com Type in your ada credentials with username of domain\\&lt;username&gt; b. Run command to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,60,59],"tags":[],"class_list":["post-2070","post","type-post","status-publish","format-standard","hentry","category-exchange-2010","category-office-365","category-powershell"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2070"}],"version-history":[{"count":4,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2070\/revisions"}],"predecessor-version":[{"id":2076,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2070\/revisions\/2076"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}