This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Create secondary alias in à create mailbox policy

Hi,

I want to be able to add a secondary email adresse @domaine.mail.onmicrosoft.com to all my new user account so that I can migrate them to my Office365 during the night.

I have a policy that creates new exchange account.  I tried to add a new secondary email address to the account with the policy option "E-mail Alias Generation" but it doesnt work.  I keed getting only the default Alias.

I tried with the policy option "Property Generation and Validation" and when I whant to change the value for the attribute proxyadress I always get some errors.

Do you have an easy way to add a secondary email?

Jeff

  • My understanding: the following attributes are involved in email provision/flow for Exchange platform
    - mailNickName (alias) - singe valued string;

    - proxyAddresses (includes primary SMTP address) - multi-valued, string;

    - mail (irrelevant to Exchange email process) - single-value string;

    - targetAddress (redirection to external, jsmith@company.onmicrosoft.com) - single-valued string.

  • Why not just use a native Exchange Address Policy to achieve this? You can easily use those policies to mass-provision new email addresses based on whatever attributes you like. Even if you can get an Active Roles  "Property Generation" policy to create the correct address, they won't apply to existing accounts anyway (just for new ones).

  • Thanks,

    If I resume what I want to do is this command in powershell "Set-Mailbox "Dan Jump" -EmailAddresses @{add="dan.jump@domain.mail.onmicrosoft.com"}

    I want to be able to generate a secondary email address in a policy that is already creating new user exchange enable.

  • Thanks... It did the trick.  I chaged the policy to have multiple adresses and I added the onmicrosoft.com address as à secondary email.

  • #1. In theory according to MSFT BP, you should make on-prem Exchange Email Policy to control secondary SMTP addresses, especially with O365 Hybrind Mode AADconnect Coexistence.

    #2. Technically, AR Policy can add secondary SMTP in the AD attribute proxyAddresses.. I would consider it is to be a "bad" design bypassing Exchange Policies and violating #1.