Error: Unable to connect or communicate with Duo Security
Issue description
Users attempting to log in to ADManager Plus may encounter the following error:
Unable to connect or communicate with Duo Security. Please contact your administrator.
This indicates that ADManager Plus is unable to establish a connection with Duo Security for MFA.
Possible causes
Duo Security is unreachable: The ADManager Plus server cannot connect to Duo Security due to network issues or a service outage.
Misconfigured Duo settings: The Client ID, Client Secret, or API Host Name in ADManager Plus does not match what is configured in the Duo Admin Panel.
Firewall restrictions: Outbound communication to Duo Security, particularly over port 443 (HTTPS), may be blocked.
Invalid or expired credentials: The Duo credentials used by ADManager Plus are outdated, incorrect, or revoked.
Certificate-related issues: Problems with SSL/TLS certificates could be preventing secure communication.
Prerequisites
Resolution
Step 1: Test network connectivity to Duo Security
Open Command Prompt on the ADManager Plus server.
Run ping <DuoAPIHostname>.
Note: Replace <DuoAPIHostname> with the actual API hostname from ADManager Plus, e.g., api-xxxxxx.duosecurity.comIf the ping fails, it could indicate DNS or connectivity issues.
For a more accurate test, run Test-NetConnection <DuoAPIHostname> -Port 443.
If the result is not True, there is likely a problem with network communication.
Step 2: Verify Duo Security configuration in ADManager Plus
Log in to ADManager Plus.
Navigate to Delegation > Configuration > Logon settings > Two Factor Authentication > Duo Security.
Ensure that the Client ID, Client Secret, and API Host Name match the values in the Duo Admin Panel.
Note: Double-check for case sensitivity and remove any leading or trailing spaces.After updating the configuration, attempt to connect again.
Step 3: Verify firewall rules
Ensure outbound traffic to Duo Security over port 443 (HTTPS) is allowed.
If blocked, configure firewall rules to permit communication from the ADManager Plus server to Duo’s servers.
Step 4: Verify Duo Security availability
Visit Duo Security’s status page to check for any ongoing outages or disruptions.
Tips
Keep a secure and up-to-date record of your Duo API credentials (Client ID, Secret, and Hostname).
Periodically monitor Duo’s service status and test connectivity.
Implement monitoring for outbound connectivity failures on critical ports like 443.
How to reach support
If the issue persists, contact our support team here.
New to ADSelfService Plus?
Related Articles
Error: Unable to generate Microsoft 365 user logon reports in ADManager Plus
Issue description ADManager Plus enables technicians to generate Microsoft 365 user logon reports to monitor user activity, enhance security, and meet compliance requirements. These reports assist in: Auditing user logins: Tracking when and where ...
How can I set up Duo 2FA using ADManager Plus?
Objective Organizations looking to enhance login security using ADManager Plus can integrate Duo Security for two-factor authentication (2FA). This setup helps prevent unauthorized access, especially in environments with sensitive AD operations. This ...
Error Message: When I add the Domain Controller, I get an error as "Unable to get domain DNS / FLAT name".
Error Message: When I add the Domain Controller, I get an error as "Unable to get domain DNS / FLAT name". Possible Cause: When the ADManager Plus server is unable to communicate with a specific domain or domain controller. Solution: We need to ...
Error code: 80070005 - Unable to delete the user. Access is denied.
Issue description When attempting to delete a user in ADManager Plus, the operation fails, and an error message "Error code: 80070005: Unable to delete the user. Access is denied. This prevents administrators from removing the user from AD using the ...
Unable to perform Exchange Online management actions using ADManager Plus
Issue description ADManager Plus simplifies Exchange Online management by providing a centralized platform to perform essential administrative tasks. Administrators can create, modify, or delete mailboxes, configure mailbox features, set permissions, ...