Office365: smtp alias met AD Sync

Wanneer je gebruik maakt van office 365 in combinatie met een domain controller in je lokale netwerk , dan is het een hele klus om een simpele e-mail alias aan te maken. Normaal gesproken doe je dit vanuit Exchange. Omdat je dat niet meer hebt op je lokale server ( want je maakt gebruik van Office 365) gaat dat nu iets anders. De grote truc is om SMTP:primairadres@email.com te gebruiken bij een primair email adres , en smtp:emailalias@email.com bij aliassen ( let op de hoofdletters!)
Hieronder zie je wat je precies moet doen:

1.Go to Start > Run and type adsiedit.msc

2. Select “Connect To:” under tha actions menu and select your AD

3.Now, find the unit where your AD user’s reside

4.Right click the user you want to edit and click Properties.

5.Find the variable proxyAddresses – this is the one you want to edit.

When you add new e-mail aliases, you want to make sure that your primary e-mail address will start with upper-case SMTP. Your aliases, aka, secondary addresses should be lower-case smtp.For example, I want my primary e-mail address to be firstnamelastname@example.com

In the proxyAddresses attribute, I would put:

SMTP:firstnamelastname@example.com

As my alias, I want firstname.lastname@example.com … to do this, I will use lower case smtp:

smtp:firstname.lastname@example.com

NOTE: This will only update after DirSync executes which, by default is 3 hours. Also, it is important to note that the primary email address must also be added to the ProxyAddress object as well as the alias.

Next go to the DirSync server and execute the following.

1. Launch PowerShell with elevated rights

2. Execute the following commands:

Set-Location c:\”Program Files”\”Windows Azure Active Directory Sync”\

Set-ExecutionPolicy UnRestricted

Y

Import-Module DirSync

Start-OnlineCoexistenceSync

Set-ExecutionPolicy Restricted

Test that alias is set.

About hagroot