Failed to find an Exchange Server for the DN (...)
3 min
Overview
This error occurs when Activate is unable to locate a valid Exchange Server resource associated with a given Distinguished Name (DN). This is typically due to a missing or misconfigured IdentityProvider reference in the Exchange Server resource configuration.
Root Cause
Each Exchange Server resource in Activate must include a reference parameter named IdentityProvider. This parameter links the Exchange Server to the appropriate external directory (e.g., Azure AD or on-prem Active Directory). Without this reference, Activate cannot resolve which Exchange Server (and associated credentials) to use for a given object.
How to Fix It
To resolve this issue, follow these steps:
- Locate the Exchange Server Resource
- Go to: //Resources/Exchange Servers/Office365 (or the relevant Exchange resource for your environment).
- Add the IdentityProvider Reference Parameter
- Create a new reference parameter named IdentityProvider.
- Set its value to point to the appropriate external directory resource. For example:=//Resources/Active Directory/External Directories/Azure
- Save and Validate
- Save the configuration.
- Ensure that the reference is valid and points to an existing Identity Provider resource under //Resources/Active Directory/External Directories.
Why This Matters
The IdentityProvider reference is essential for:
- Resolving which Exchange Server to use for a given DN.
- Accessing the correct credentials and connection settings.
- Ensuring successful synchronization and communication with Exchange.