How can I specify which service account to assign to a particular Service Application

Sep 9, 2013 at 1:59 AM
How can I specify which service account to assign to a particular Service Application?

Because only Search has the service account in AutoSPInstaller, and other service application doesnt have Account

<EnterpriseSearchService Provision="true"
                             ContactEmail=""
                             ConnectionTimeout="60"
                             AcknowledgementTimeout="60"
                             ProxyType="Default"
                             IgnoreSSLWarnings="false"
                             InternetIdentity="Mozilla/4.0 (compatible; MSIE 4.01; Windows NT; MS Search 6.0 Robot)"
                             CustomIndexLocation=""
                             PerformanceLevel="PartlyReduced"
                             __Account__="DOMAIN\SP_SearchService"
                             Password=""
                             ShareName="SearchIndex">3

<UserProfileServiceApp Provision="true"
                           Name="User Profile Service Application"
                           ProxyName="User Profile Service Application"
                           EnableNetBIOSDomainNames="false"
                           StartProfileSync="true"
                           CreateDefaultSyncConnection="false"
                           SyncConnectionAccount="DOMAIN\SP_ProfileSync"
                           SyncConnectionAccountPassword="" >
                ___no Account___
Sep 9, 2013 at 6:38 AM
Edited Sep 9, 2013 at 6:40 AM
AutoSPInstaller will automatically create an application pool called SharePoint Hosted Services and use your default App Pool account. Same as Secure Store, Excel services etc.

The SyncConnectionAccount has to be the SharePoint Farm account otherwise its not going work - the service won't provision.

Bit of advice before you setup the User Profile Service - have a good read through this guide (http://www.harbar.net/articles/sp2010ups.aspx), the User Profile Service requires additional configuration otherwise the sync service will fail to start.