- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2020 03:48 PM
Hi All,
I'm using Active directory spoke of the flow designer to connect to AD and have been getting this error intermittently:
The specified module 'activedirectory' was not loaded because no valid module file was found in any module directory. HRESULT: [-2147024894]
This happens no matter which mid server I select. Right now i've set it to 'All' for mid servers and the error happens on all of them.
I tried to put this in a while loop to make it work since there's no retry mechanism I see on the Flow designer and it would generally work in a couple of tries but using a while loop isn't a workable solution for me since I can't setup a retry count using any variables on Flow designer.
I've tried few work arounds for this but to no avail.
Anyone have experience with this issue.
would greatly appreciate any help.
Solved! Go to Solution.
- Labels:
-
IntegrationHub

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2020 02:45 AM
hi Faizan,
I had exactly the same issue last week. We have resolved it by granting/checking the appropriate feature in AD.
See my post for the details : https://community.servicenow.com/community?id=community_article&sys_id=b7079117db1d1c10190dfb2439961...
Please mark it helpfull in case it does 🙂
regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2020 08:17 AM
Late in responding to this, we're able to rule out which mid servers were failing and throwing this error and the configuration that was not enabled on those mid servers that were throwing error.
As Peter above has also mentioned, we enabled the 'Active Directory' module on each mid server to get this to work and it's been running smoothly since.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2020 08:32 AM
There can be some error at the other end as well.
Check the below link
Mark my ANSWER as CORRECT and HELPFUL if it helps

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2020 02:45 AM
hi Faizan,
I had exactly the same issue last week. We have resolved it by granting/checking the appropriate feature in AD.
See my post for the details : https://community.servicenow.com/community?id=community_article&sys_id=b7079117db1d1c10190dfb2439961...
Please mark it helpfull in case it does 🙂
regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2020 08:17 AM
Late in responding to this, we're able to rule out which mid servers were failing and throwing this error and the configuration that was not enabled on those mid servers that were throwing error.
As Peter above has also mentioned, we enabled the 'Active Directory' module on each mid server to get this to work and it's been running smoothly since.