{"id":1851,"date":"2016-03-16T21:02:44","date_gmt":"2016-03-16T21:02:44","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=1851"},"modified":"2016-03-16T21:02:44","modified_gmt":"2016-03-16T21:02:44","slug":"migrate-new-user-to-o365","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=1851","title":{"rendered":"Migrate new user to O365"},"content":{"rendered":"<ol>\n<li><b>Pre-Migration Work<\/b>\n<ol>\n<li>Create the AD user account and Exchange on-prem mailbox<\/li>\n<li>Confirm UPN suffix of user account\u00a0matches the email address<\/li>\n<li>Go to O365 admin console and add the user license<\/li>\n<\/ol>\n<\/li>\n<li><b>Migrate users<\/b><\/li>\n<\/ol>\n<ol>\n<li>Connect to Exchange On-line<\/li>\n<\/ol>\n<ol>\n<li>From the PowerShell console on an Exchange 2010 server:<\/li>\n<\/ol>\n<p><strong>$Cred = Get-Credential\u00a0<\/strong><\/p>\n<p><strong>$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri <a href=\"https:\/\/ps.outlook.com\/powershell\">https:\/\/ps.outlook.com\/powershell<\/a> -Credential $cred -Authentication Basic \u2013AllowRedirection\u00a0<\/strong><\/p>\n<p><strong>Import-PSSession $s\u00a0<\/strong><\/p>\n<ol>\n<li>Type in your O365 domain admin credentials (example: admin@mycompany.com)<\/li>\n<li>Type in your AD domain\u00a0credentials with username of <strong>domain\\&lt;username&gt;<\/strong><\/li>\n<\/ol>\n<ol>\n<li>Run command to migrate user<\/li>\n<\/ol>\n<ol>\n<li><strong>New-MoveRequest \u2013Identity <i>&lt;username or display name in quotes&gt;<\/i> -Remote -RemoteHostName autodiscover.yourcompanydomain.com -TargetDeliveryDomain yourcompanydomain.mail.onmicrosoft.com -RemoteCredential (Get-Credential) -BadItemLimit 40\u00a0<\/strong><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Pre-Migration Work Create the AD user account and Exchange on-prem mailbox Confirm UPN suffix of user account\u00a0matches the email address Go to O365 admin console and add the user license Migrate users Connect to Exchange On-line From the PowerShell console on an Exchange 2010 server: $Cred = Get-Credential\u00a0 $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https:\/\/ps.outlook.com\/powershell [&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,58,59],"tags":[],"class_list":["post-1851","post","type-post","status-publish","format-standard","hentry","category-exchange-2010","category-exchange-2013","category-powershell"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1851","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=1851"}],"version-history":[{"count":1,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1851\/revisions"}],"predecessor-version":[{"id":1852,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1851\/revisions\/1852"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}