Migrate new user to O365
- Pre-Migration Work
- Create the AD user account and Exchange on-prem mailbox
- Confirm UPN suffix of user account matches 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
$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection
Import-PSSession $s
- Type in your O365 domain admin credentials (example: admin@mycompany.com)
- Type in your AD domain credentials with username of domain\<username>
- Run command to migrate user
- New-MoveRequest –Identity <username or display name in quotes> -Remote -RemoteHostName autodiscover.yourcompanydomain.com -TargetDeliveryDomain yourcompanydomain.mail.onmicrosoft.com -RemoteCredential (Get-Credential) -BadItemLimit 40