• Status: Solved
  • Priority: Low
  • Security: Public
  • Views: 101
  • Last Modified:

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!

  • 2
  • 2
2 Solutions
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: http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_9650-NDRs-and-the-legacyExchangeDN.html
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 https://ps.outlook.com/powershell/ -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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now