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

Managed account AD\sp_services already exists

Topics: Support
Apr 17, 2014 at 2:11 PM
Edited Apr 17, 2014 at 2:18 PM

I get this error when using spautoinstaller (gui) for SharePoint installation on my virtual dev env vm. (I have a separate AD vm)

"Managed account AD\sp_services already exists"

Then the follwing Exception:
 - Adding Managed Accounts...
 - Enabling Secondary Logon service...
 - Starting Secondary Logon service...
  - Account "AD\sp_services:
   - Creating local profile for AD\sp_services...
   - Adding to local Admins (*temporarily*)...Done.
   - Removing from local Admins...Done.
  - Done.
   - Managed account AD\sp_services already exists.
 - Script halted!

Exception             : System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to param
                        eter 'String' because it is an empty string.
                           at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext f
                        uncContext, Exception exception)
                           at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame fra
                           at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedF
                        rame frame)
                           at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedF
                        rame frame)
TargetObject          :
CategoryInfo          : InvalidData: (:) [ConvertTo-SecureString], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.ConvertToSe
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at AddManagedAccounts, C:\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line
                        at Setup-Farm, C:\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 200
                        at <ScriptBlock>, C:\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 373
                        at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}
PSMessageDetails      :
Anyone has any idea what I'm doing wrong?
Apr 22, 2014 at 8:05 AM
Solved the problem, it wasn't the sp_service account that caused the problem. It was the accounts after that I forgot to change the domain name on.
Marked as answer by RobinSoderlund on 4/22/2014 at 12:05 AM
Apr 22, 2014 at 6:02 PM
Thank you for following up and marking as answer!