Configure User Profile Service Application in SharePoint 2016

$accountName = "CONTOSO\joeylicc"
$svcAppPoolName = "UserProfileServiceApplicationPool"
$svcAppName = "User Profile Service Application"
$dbServer = "{SERVER_NAME}\SHAREPOINT"
$profileDbName = "User_Profile"
$profileSyncDbName = "User_Profile_Sync"
$socialDbName = "User_Profile_Social"
$svcAppProxyName = "User Profile Service Application Proxy"

$account = Get-SPManagedAccount $accountName
$appPool = New-SPServiceApplicationPool -Name $svcAppPoolName -Account $account
$svcApp = New-SPProfileServiceApplication -Name $svcAppName -ProfileDBServer $dbServer -ProfileDBName $profileDbName -ProfileSyncDBServer $dbServer -ProfileSyncDBName $profileSyncDbName -SocialDBServer $dbSever -SocialDBName $socialDbName -ApplicationPool $appPool
New-SPProfileServiceApplicationProxy -Name $svcAppProxyName -ServiceApplication $svcApp

See Also

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s