Showing posts from October, 2012

Tips for a cutover migration to Office 365 with ADFS and Single Sign-on

Here are some of my tips for a cutover migration to Office 365 with ADFS and Single Sign-onWhen you read about converting mailboxes to mail-enabled users (MEUs) they don't mention Exchange 2010.  So I opened a ticket with Microsoft and they confirmed that everything for 2007 will work with 2010, and it did. This is the wiki on that subject: Convert Exchange 2007 mailboxes to mail-enabled users after a staged Exchange migration Here are some problems I ran into converting mailboxes to MEUs: My primary smtp on Exchange 2010 still had a reference to skillsinc.local (along with after I changed all the UPNs from .local to .com and that was messing things up.  When I looked in Office 365 none of my migrated mailboxes had aliases!  Without that Federation will not work.  I used ADMODIFY from Codeplex to remove all reference to skillsinc.local from my local AD.  This blog does a great job detailing ho…

Office 365 PowerShell Commands

Office 365 PowerShell Commands
Here are some powershell commands that I used with Office 365 to automate my Cutover migration.  In these examples I'm using my domain where your domain should be.
These are mostly commands you would use after you have moved your mailboxes to Office 365.

Open the Microsoft Online Services Module for Windows PowerShell
If you want to run any commands that have Msol in them, like Get-MsolUser, you need to run this first:
$Cred = Get-Credential
Connect-MsolService -Credential $cred

If your not running on your ADFS server, you may need to connect to it first with this:
Set-MsolAdfscontext -Computer adfs1

If you want to run any commands that involve the mailboxes, like Get-Mailbox, you need to run this first:$Cred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $Cred -Authentication:Basic -AllowRedirection
Import-PSSession $Session
Assign Licenses
Check the name …