Event ID 6050 error in SharePoint 2010 with AD User Profile Import
Here I was, banging my head into the proverbial wall over why in MOSS 2007 I was able to use a service account with read permissions to Active Directory, but when setting up SharePoint 2010’s User Profile Import to AD it kept breaking. Then I stumbled across this article. So I contacted out Network guys, who created a service account with permissions as indicated in this KB article: http://support.microsoft.com/kb/303972 And lo and behold, all problems are solved! SharePoint 2010 now…
Enabling ADUC on Windows 7
I’m unable to locate a working plug-in/snap-in for Active Directory Users and Computers that works on Windows 7. Fortunately, there’s a workaround that allows administration of ADUC in Windows 7 with a little modification. First, you’ll need to download and install RSAT for Windows 7. It’s found here. You’ll need this before you can do anything else. Once this is installed, on your Windows 7 box, open Programs and Features and click the Turn Windows Features On or Off option….
Query AD using T-SQL
So I’m working on a small interface that needs to check certain computers in our enterprise for file changes, and fortunately these specific computers are kept in a group nested inside our AD structure. My thought was, if I can use a SQL query to go get that list of machines, put the results in a table, then have the interface read from that table it would always have a current list of these machines, with no maintenance required for…
Excellent article on getting AD info using C#
I’m always getting, updating, and validating against AD info at my company, and today I needed to pull several different schema attributes in one method, and kept running into more and more trouble. Code got bigger and bigger, and I thought there had to be a way to simplify this. I then ran across a CodeProject article definitely worth mentioning. The author, Rajasekhara Sambangi does an excellent job of demonstrating a simplified way of pulling just about anything from AD…