question

AllanStark avatar image
0 Votes"
AllanStark asked gryphon-8388 answered

How I can add mail alias (second address) for O365 account that has been synced with the local AD system?

I have one account in my local AD which has been synced with Azure AD cloud.
I need to add another (alias) email to it's account but got the error in ExO:

"Error executing request. An Azure Active Directory call was made to keep object in sync between Azure Active Directory and Exchange Online. However, it failed. Detailed error message: Exception happened when doing AAD dual-write.'

I have no Exchange in my local AD.

How I can add additional email addresses to synced accounts like that?

azure-ad-connect
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

NiklasN avatar image
1 Vote"
NiklasN answered

Hi @AllanStark ,

go to AD User and Computer, find the user, doubleclick -> attribute editor -> find "proxyAddresses".
add the address

NOTE:
if there are no values at all in the attribute, please add the value like this:
SMPT:primaryEmail@yourdomain.com
smpt:emailyouwanttoadd@yourdomain.com

every further email needs to be added with "smtp:thenyourmail@yourdomain.com"

as Andy already said - this is not supported from Microsoft. But it works very well ;-)

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndyDavid avatar image
1 Vote"
AndyDavid answered

Add to the on-prem object via ADUC or ADSIEDIT and it will sync via AADConnect within 30 minutes.

Note its not supported to have AADConnect syncing to 365 and not have at least one Exchange Server on-prem for mgmt.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AllanStark avatar image
0 Votes"
AllanStark answered AndyDavid commented

Thank you for your answer.
I need to add both addresses (main and alias) to the proxyAddress field of the user object, right?
And after synchronization I need to set primary (reply) address in ExO?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

NiklasN avatar image
1 Vote"
NiklasN answered

And after synchronization I need to set primary (reply) address in ExO?

no, this is done by SMTP: and smtp:
SMTP: is primary
smtp: is secondary



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AllanStark avatar image
0 Votes"
AllanStark answered

Thank you! All works well!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

gryphon-8388 avatar image
0 Votes"
gryphon-8388 answered

This has been done but emailing an address with smtp:emailyouwanttoadd@yourdomain.com causes all email to arrive as it being sent to SMPT:primaryEmail@yourdomain.com.

When somebody emails the secondary email, emailyouwanttoadd@yourdomain.com, it gets delivered to the primary email but the TO field changes to the primary email.

How to configure it so, when one emails emailyouwanttoadd@yourdomain.com it says so in the TO: field but still gets delivered to primary?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.