First I setup Connection filters.
- Central Administration > Application Management > Service Applications >
- Manage Service Applications > User Profile Service > Synchronization >
- Configure Synchronization Connections > [Your AD Connection] > Edit Connection Filters
Used the Any apply (OR)
for the following rules:
Attribute Operator Filter
sAMAccountName Contains Calendar
sAMAccountName Contains Privileged
sAMAccountName Contains _
userAccountControl Bit on equals 17
This takes care of the accounts we have for department calendars [deptcalendar], any elevated management accounts [username Privileged], service accounts [System_Service] and any account that has a non-expiring password.
No even with all of this I was still seeing a service account sneaking in creating its own profile and for the life of me I could not stop it. I don't care if it has a mySite I just don't want it to show up in our Phone book.
After about a day and a half of searching finally came across the process to resolve this issue. I needed to set up an exclusion on the People Search Core Results > Results Query Options > Append Test To Query.
-prefrerredname:"[enter format here]" in our case I setup -preferredname:"SP_*". Ensure you do this to any pages that contain the People Search Core Results web app in our case we have two pages: People-Directory and peopleresults.
I hope this helps others out there.
Check out my How-to write ups with images on SpiceWorks
SharePoint 2010: People Search Core Results web part: http://community.spiceworks.com/how_to/show/53409-sharepoint-2010-people-search-core-results-web-part
SharePoint 2010: Filter User Profile Service (UPS)
http://community.spiceworks.com/how_to/show/53408-sharepoint-2010-filter-user-profile-service-ups
References:
Technet: http://social.technet.microsoft.com/Forums/sharepoint/en-US/b32db0e0-22cb-4d1d-8e49-4c020dffd1cc/how-to-exclude-users-from-people-search-results?forum=fastsharepoint
Check out my How-to write ups with images on SpiceWorks
SharePoint 2010: People Search Core Results web part: http://community.spiceworks.com/how_to/show/53409-sharepoint-2010-people-search-core-results-web-part
SharePoint 2010: Filter User Profile Service (UPS)
http://community.spiceworks.com/how_to/show/53408-sharepoint-2010-filter-user-profile-service-ups
References:
Technet: http://social.technet.microsoft.com/Forums/sharepoint/en-US/b32db0e0-22cb-4d1d-8e49-4c020dffd1cc/how-to-exclude-users-from-people-search-results?forum=fastsharepoint
No comments:
Post a Comment