Synchronization via LDAPS
This is an advanced option that can be used if the default synchronization through the Synchronization via AAD Sync App doesn't meet all your needs, for example, if you need to synchronize "Shared Mailboxes" or if you want to perform profile mapping based on the data.
Requirements
Requires a valid license for Microsoft 365 and Azure Active Directory, including Azure AD Domain Services (AD DS). Additional licensing may be required.
Requires Configured Secure LDAP for the domain managed by Azure AD Domain Services (including a valid or self-signed certificate as a pfx file). Microsoft describes how to configure this at https://docs.microsoft.com/en-us/azure/active-directory-domain-services/tutorial-configure-ldaps.
Implementation via DirSync/LDAPS
Implementing Retarus AAD Sync via LDAPS requires only a few steps:
Architecture
The AAD sync via LDAPS is based on the Retarus DirSync service running in your local environment (on-premise). The service uses a secure LDAP connection to access your Azure Active Directory in the cloud, request the required user data (see below), and create a map file that is transferred to Retarus via upload to a dedicated SFTP file share. For details regarding the Retarus DirSync service, please refer to DirSync Client for Windows.
Synchronization data
The sync via DirSync/LDAPS allows to synchronize the following data:
Domains
Email addresses
Alias email addresses
Groups
Shared Mailboxes
The solution allows to:
filter by attributes
use profile mapping
use data for Signature/Disclaimer feature
use User-Based Routing
Please consider the following examples of data that is not being synchronized, because the data is related to Microsoft Exchange and therefore not included/available via Azure Active Directory. Nevertheless, it is possible to get the data using PowerShell; examples are mentioned below:
Group owners defined in Microsoft 365 are not transferred. Group addresses themselves are synchronized (as described above) and treated the same way as other user addresses. Powershell command to retrieve the data:
Get-UnifiedGroup -Identity "Consulting" | Get-UnifiedGroupLinks -LinkType Owner | Select PrimarySmtpAddress
Dynamic distribution groups cannot be synchronized. You may of course manually add these addresses to the Retarus DirFilter Allowlist in order to make sure that emails to those recipient addresses are accepted - or use Powershell to retrieve the data:
Get-EXORecipient -Filter "RecipientType -eq 'DynamicDistributionGroup'" | select PrimarySmtpAddress
Mail-enabled public folders cannot be synchronized. You may of course manually add these addresses to the Retarus DirFilter Allowlist in order to make sure that emails to those recipient addresses are accepted – or use Powershell to retrieve the data:
Get-EXORecipient -Filter "RecipientType -eq 'PublicFolder'" | select PrimarySmtpAddress