The error message "ApplicationManagedBy parameter is invalid or missing" typically occurs after an automatic upgrade of Microsoft Entra Connect when the application-based authentication (ABA) settings are not properly configured. This issue arises because the Synchronization Service Manager UI does not handle the new ABA fields correctly, leading to missing values for the ApplicationManagedBy, CertificateManagedBy, and CertificateId parameters.
To resolve this issue, you can use a PowerShell repair function to restore the missing parameters. Here are the steps:
- Start a new PowerShell session with Run as Administrator.
- Install or update the ADSyncTools module from PowerShell Gallery:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Install-Module ADSyncTools # If ADSyncTools isn't installed, or;
Update-Module ADSyncTools # If ADSyncTools is already installed
- Import the ADSyncTools module:
Import-Module ADSyncTools
- Run the repair function:
Repair-ADSyncToolsEntraAppParameters
This process should restore the missing parameters, allowing you to run the configuration wizard without errors and ensuring that future certificate rollovers succeed.
It's also important to avoid using the Synchronization Service Manager UI to view or edit the Microsoft Entra connector's properties when ABA is enabled, as this can inadvertently remove required settings.
References: