This project has moved and is read-only. For the latest updates, please go here.

User Profile Synchronization Service...Exception

Oct 28, 2012 at 5: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
At E:\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1:2250 char
+                     $profileServiceApp.SetSynchronizationMachine <<<< ($env:C
OMPUTERNAME, $profileSyncService.Id, $farmAcct, (ConvertTo-PlainText $farmAcctP
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

Nov 1, 2012 at 1:37 PM

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

        <Account AddToLocalAdminsDuringSetup="true" LeaveInLocalAdmins="false">

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

Nov 1, 2012 at 5:46 PM

Again, bang on Wahid. Cheers.