Notifications

124 views

Description

User's may encounter the following error while running powershell commands to orchestrate with Active Directory.

"A connection to the directory on which to process the request was unavailable. This is likely a transient condition.".

The error is reproduced when implementing a workflow that triggers up to 20 powershell sessions to run, each importing the Active Directory module to create a connection with AD.

Cause

This is Active Directory Server side issue/ PowerShell limitation. It is unable to handle multiple concurrent requests in a short period of time (~20 requests or more).

Resolution

A quick google shows other people are experiencing this as well. Below are some of these issues and people's suggestions to resolve the issue:

https://forum.forgerock.com/topic/adpowershell-issue-frequent-loading-of/ 

https://www.reddit.com/r/PowerShell/comments/1xnh76/help_with_a_powershell_error/ 

https://social.technet.microsoft.com/Forums/lync/en-US/a1d88f7f-56a9-4be3-b031-d0fa8944cb5e/a-connection-to-the-directory-on-which-to-process-the-request-was-unavailable-this-is-likely-a?forum=winserverpowershell 

http://dietechnology.blogspot.com/2013/02/a-connection-to-directory-on-which-to.html 

https://stackoverflow.com/questions/53478669/active-directory-transient-error-when-bulk-using-activedirectory-cmdlet 

Please also engage your AD Admin for further assistance for this error.

Article Information

Last Updated:2019-11-28 11:54:38
Published:2019-09-03