Help! Importing X500 into Office 365 post 2007 migration

My Co-Worker has completed the migration steps to move a customer from Exchange 2007 (on old Windows Server) into the 365 platform which is fine however the customer is complaining that calendar appointments etc are getting screwed up. Turns out its because the X500 addresses are not in place.

My co-worker tried to import the X500 addresses as per these instructions:

However when we get to this bit it goes wrong
$user.EmailAddresses+=”X500:/o=VVT/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=useralias”

Powershell throws an error 'EmailAddresses' cannot be found on this object

I am sure its something really simple but I am very much out of my depth with this stuff so please treat me as a complete novice in your replies!

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vasil Michev (MVP)Commented:
Without the full steps/script, we can only guess. You can always add it manually. Here's an EE article on the matter:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
whunt18885Author Commented:
The steps I followed to get to the error:

Firstly it was to complete the first phase via Windows Azure Powershell (running as admin):

1) Run powershell as an admin
2) $LiveCred = Get-Credential
3) $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $LiveCred -Authentication Basic –AllowRedirection
4) Set-ExecutionPolicy Unrestricted -Force
5) Import-PSSession $Session

That all worked fine so I then moved onto the next phase and starting entering these things:

1) Get-Mailbox bill
2) $user.EmailAddresses+=”X500:/o=VVT/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=useralias”
3) Set-Mailbox username –EmailAddresses $user.EmailAddresses
4) Get-Mailbox username | FL emailaddresses

The error I got was when I tried to copy the stuff in step 2 - I suspect I need to put something in place of EmailAddresses but I don't know what.
Vasil Michev (MVP)Commented:
You dont have the $user variable set up at all. Step 1 should be:

$user = Get-Mailbox bill

Open in new window

And then all the cmdlets should reference $user. The article I linked to has proper examples.
whunt18885Author Commented:
Thanks I have applied that without errors - Awaiting confirmation from the user and will update.
Seth SimmonsSr. Systems AdministratorCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

-- Vasil Michev (MVP) (https:#a42367193)
-- Vasil Michev (MVP) (https:#a42367342)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.