0 votes

We have a single AD domain that also matches our primary email domain (e.g. @primarydomain.com), but we also have multiple company specific email domains (e.g. @companydomain.com) hosted in Office 365. We use AD Sync to sync users from our local domain with O365.

Manually we would create a user in AD with a default email address that would match the following: firstname.surname@primarydomain.com

We would then sync to O365, and after the fact we would then amend the email property for the user in AD to firstname.surname@companydomain.com, and then add SMTP:firstname.surname@companydomain.com and smtp:firstname.surname@primarydomain.com to the proxy address fields for the user in AD. After the next sync the user will then have firstname.surname@companydomain.com as primary email address, firstname.surname@primarydomain.com as an alias and firstname.surname@primarydomain.com as O365 login name.

How can I replicate this in Adaxes, considering that we would like to also link the companydomain.com to the user's company value set in AD.

by (20 points)

1 Answer

0 votes
by (216k points)

Hello Jacques,

Proxy addresses can be updated using the Modify Exchange properties action after assigning a Microsoft 365 (former Office 365) license which includes Exchange Online. The action should be configured to add the necessary proxy address (e.g. firstname.surname@companydomain.com) and set it as primary. It can be configured using a template like the following: %firstname%.%lastname%@companydomain.com. If the value of the Company property matches part of the relevant domain name for the new address, the %company% value reference can be used in the template (e.g. %firstname%.%lastname%@%company%domain.com). For information on how to use value references, see https://www.adaxes.com/help/?ValueReferences.ValRefFormat.html.

For information on how to automate Exchange mailbox configuration, please, have a look at the following tutorial: https://www.adaxes.com/tutorials_AutomatingDailyTasks_AutomateExchangeMailboxConfiguration.htm. Pay attention to Example 4 on step 3.

Related questions

0 votes
1 answer

Hi, I want to change the default UPN suffix for user creation. We only have a single UPN suffix we use at our organization however when we create a user using the web ... We only ever want to use the @mycompany.com so a list of options isn't requried.

asked Jun 29, 2022 by PeterG (40 points)
0 votes
1 answer

I've got the script working as is and would like to add a column to display the number of days left before the password expires. I attempted to use adm-AccountExpiresDaysLeft ... error, probably because I don't know how to convert it to a displayable format.

asked Feb 12, 2021 by sandramnc (870 points)
0 votes
0 answers

An authenticator app can be reset for a user with the help of the Reset multifactor authentication operation in Adaxes Web Interface or Administration Console. In the Web ... can also use the Change device option. For details, see Reset Authenticator App.

asked Oct 28, 2019 by Adaxes (550 points)
0 votes
1 answer

Will it use 1 license for an Active Directory user and his azure account or 2 licenses?

asked Nov 7, 2023 by johanpr (120 points)
0 votes
1 answer

Hi, I recently upgraded Adaxes from 2021.1 to 2023.2, and after the upgrade, an LDAP filter for retrieving the groups a user is owner of, stopped working. The reason ... attribute instead, like this: It works, but sadly it is quite slow. Best regards Martin

asked Aug 21, 2023 by Martin (100 points)
3,383 questions
3,082 answers
7,832 comments
545,475 users