RFC Planned PeoplePack User Provisioning Demo 2.0 will include UPS Sync Configuration to AD and incremental Search Crawl

Coordinator
Jul 4, 2013 at 6:37 AM
Planned for 07/06/2013 at the suggestion of one of the users we will be adding a sync connection and performing the first synchronization with some code that will look like the following example:

$PWord = ConvertTo-SecureString -AsPlainText -String "pass@word1" -Force
$UPA = Get-SPServiceApplication | Where {$_.DisplayName -eq "User Profile Service Application"}
Add-SPProfileSyncConnection -ProfileServiceApplication $UPA -ConnectionForestName "contoso.com" -ConnectionDomain "CONTOSO" -ConnectionUserName "contoso\spadmin" -ConnectionPassword $PWord -ConnectionServerName "localhost"

In addition, all Demos that include Content (PeoplePackDemo, Self-ServiceBIDemo, Self-Service BI, VisioServicesDemo, and Additional Demos not yet published) will start an incremental crawl as the last step prior to opening the Post Installation Instructions

The code will be something like the following

$searchapp = Get-SPEnterpriseSearchServiceApplication "Search Service Application"
$contentsource = Get-SPEnterpriseSearchCrawlContentSource "Local SharePoint Sites" -SearchApplication $searchapp
$contentsource.StartIncrementalCrawl()



-Ivan
Coordinator
Aug 5, 2013 at 6:14 AM
Complete as of 07/18/2013.

-Ivan