More exchange online migration woes
Well I've had a couple of weeks off from migrating users as I didnt want mess anyone up during the exam period but I'm back on it now. I've noticed a problem with one of MS's scripts. ExportO365UserInfo.ps1 is generating strange results. I'll explain.
I create a .CSV migration file which looks like this:
I then run it against the ExportO365UserInfo.ps1 file to get a returned cloud.csv file. Now heres the science. Un inspection of cloud.csv I can see that not all the data in the first column is there. the script returns this:
The problem is that the script is not rendering the the end of the LegacyExchangeDN part. the line should read:
/o=ExchangeLabs/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=43c6ab43f79d4c3dbbf7740464473ac4-Kevin.Algaw,,AlgaKe.email@example.com,0e2054e6-31c0-4c71-b80e-95564bdd0aaf
It's adding an extra comma and truncating the name. Not sure what to do. Any ideas would be great 3k user migration is looking pretty grim right now
/o=ExchangeLabs/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=43c6ab43f79d4c3dbbf7740464473ac4-Kevin.Algawattage,AlgaKe.firstname.lastname@example.org,0e2054e6-31c0-4c71-b80e-95564bdd0aaf