Email has ‘ in the address – Cannot send or receive

Email has ‘ in the address – Cannot send or receive

Thursday, 31 October 2019

9:46 AM

About:

In case of having ‘ in the email address – example: SMTP:Heath.O’Brien@ridley.com.au – I will need to fix it.

Need to remove the ‘ from the address

Steps:

  • In AD, locate the user, properties, Change the first name and last name to remove the ‘ from the name itself and leave the display name as it is.
  • In AD, locate the user, properties, Attribute editor, and double click on proxy address  

  • Remove the SMTP that has the ‘ in the address. Make sure that there is another SMTP with the correct address. Notice SMPT mean primary address. smtp means alias address. If there is sip attribute also, make sure it is modified to the new address without the ‘ too.  
  • Multi-valued String Editor
proxyAddresses
Value to add
SIP:
SMTP : Heath
com
X400 C=ALI
x500 Administrativ
X500 /o=RjdIey
*ppb'
Remove
  • Then you wait until it is synced with O365 or force sync with dirsync server.
  • Check on O365 portal and make sure that the new email address if the primary now.
  • Login to O365 portal, locate the user, and click edit on Username section  
  • C)
HO
Change
Username
OBrien, Heath
Production Cacrdinatar, Operations
x
Reset password
Ps Black sign-in
El Delete user
Email address
Aliases
Product licen ses
Group memberships (29)
hobrien@agriprod.ridley.com.au
Heath.OBrien@ridley.com.au
hobrien@RidleyOnline.mail.onmicrosoft.com
hobrien@RidleyOnline.onmicrosoft.com
hobrien@agriprod.ridley.com.au
hobrien@ridley.com.au
Office 365 E3
All at Employee Share Scheme
All at Pakenham
All at Pakenham Mill
AllPakenhamMonoBlUSr
Mare
Edit
Edit
Edit
  • Confirm that the primary address has changed to the new one
  • Then you need to change the remote route address to .mail.microsoft so that sending and receiving emails will be to the correct address
  • Connect PS to exchange on-prem server
  • Then type this command:
    • Set-RemoteMailbox -Identity “doconnor” -RemoteRoutingAddress ‘doconnor@RidleyOnline.mail.onmicrosoft.com’
    • You will need to modify the paramater to the new user’s details.
  • Then you wait until it is synced with O365 or force sync with dirsync server.