I know how to fetch data from Active Directory using C# and System.DirectoryService. I have a sample here: var rootEntry = new DirectoryEntry("LDAP://mydomain.local", "UserName", "Password"); var searcher = new DirectorySearcher(rootentry); searcher.CacheResults = false; searcher.SearchScope = System.DirectoryServices.SearchScope.Subtree; searcher.PageSize = 1000; searcher.Filter = "Some LDAP Query"; searcher.PropertiesToLoad.AddRange(new[] { "objectguid", "name", "objectclass" }); [...] read more