User Profile Synchronization Service...Exception

Oct 28, 2012 at 4:05 PM

Getting this error running the AutoSPInstaller. I don't see where in the script I need to change the account being used for Farm Timer Service Account.

Here is the error I am getting (with the account names changed).

 - Waiting for User Profile Synchronization Service...Exception calling "SetSync
hronizationMachine" with "4" argument(s): "The Profil
e Synchronization Service Account '<mydomain\farmaccount' must be the same as the F
arm Timer Service Account '<mydomain>\SQLsvcaccount' for detection of password rollo
vers."
At E:\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1:2250 char
:65
+                     $profileServiceApp.SetSynchronizationMachine <<<< ($env:C
OMPUTERNAME, $profileSyncService.Id, $farmAcct, (ConvertTo-PlainText $farmAcctP
WD))
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

Nov 1, 2012 at 12:37 PM

The account for the Timer Service is the same as the farm account. In the XML file:

        <Account AddToLocalAdminsDuringSetup="true" LeaveInLocalAdmins="false">
            <Username>DOMAIN\SP_Farm</Username>
            <Password></Password>
            <Email>spfarm@domain.com</Email>
        </Account>

It seems like you have/had that set to DOMAIN\SQLsvcaccount.

Coordinator
Nov 1, 2012 at 4:46 PM

Again, bang on Wahid. Cheers.

Brian