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

Script Abends When Managed Account Already Exists

Apr 12, 2013 at 11:48 PM
So.. I am re-running autospinstaller and I am having a problem with one of the managed accounts (spservices). For some reason the script is halting after it see that the account has already been registered.... I have never had this problem before when re-running the script.

What's the problem and solution?
  • Adding Managed Accounts
    • Creating local profile for canes.local\svc.qa_spservices...Done.
    • Registering managed account canes.local\svc.qa_spservices...
      New-SPManagedAccount : Account canes.local\svc.qa_spservices has already been registered.
      At C:\Software\AutoSPInstaller\AutoSPInstallerFunctions.ps1:1505 char:17
  • New-SPManagedAccount -Credential $credAccount | Out-Null
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : InvalidData: (Microsoft.Share...wManagedAccount:SPCmdletNewManagedAccount) [New-SPManage
      dAccount], InvalidOperationException
    • FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewManagedAccount

  • Script halted!
Nov 9, 2013 at 8:10 AM
I'm seeing the same at one of my installs with v 3.93 of AutoSPInstaller, SharePoint 2013 deployment. Did you ever resolve this?