Ivan, Thanks for the response. I am surprised that AutoSPInstaller can be re-run multiple times and I am running into these issues. I don't know what would be different on my system then what other people have. Just to set the stage a bit better: I am trying to install SharePoint 2013 on Server 2012 R2 with SQL 2014 also on Server 2012
TargetObject : - Failed to create managed account
CategoryInfo : OperationStopped: ( - Failed to create managed account:String) [], RuntimeException
FullyQualifiedErrorId : - Failed to create managed account
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at AddManagedAccounts, \kcs.com\it\installs\Sharepoint\SP2013\AutoSPInstaller\SP\AutoSPInstall
PSMessageDetails :
When I try to rerun the scripts I get the following message:
-
Adding Managed Accounts...
- Account "kcs.com\SP_Services:
- Creating local profile for kcs.com\SP_Services...
- Adding to local Admins (temporarily)...Done.
- Removing from local Admins...Done.
- Done.
- Registering managed account kcs.com\SP_Services...
New-SPManagedAccount : Account kcs.com\SP_Services has already been registered.
At \kcs.com\it\installs\Sharepoint\SP2013\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1:2076 char:17
- New-SPManagedAccount -Credential $credAccount | Out-Null
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidData: (Microsoft.Share...wManagedAccount:SPCmdletNewManagedAccount) [New-SPManage
dAccount], InvalidOperationException - FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewManagedAccount
- CategoryInfo : InvalidData: (Microsoft.Share...wManagedAccount:SPCmdletNewManagedAccount) [New-SPManage
-
Script halted!
TargetObject : - Failed to create managed account
CategoryInfo : OperationStopped: ( - Failed to create managed account:String) [], RuntimeException
FullyQualifiedErrorId : - Failed to create managed account
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at AddManagedAccounts, \kcs.com\it\installs\Sharepoint\SP2013\AutoSPInstaller\SP\AutoSPInstall
er\AutoSPInstallerFunctions.ps1: line 2077
at Setup-Farm, \\kcs.com\it\installs\Sharepoint\SP2013\AutoSPInstaller\SP\AutoSPInstaller\AutoS
PInstallerMain.ps1: line 203
at <ScriptBlock>, \\kcs.com\it\installs\Sharepoint\SP2013\AutoSPInstaller\SP\AutoSPInstaller\Au
toSPInstallerMain.ps1: line 403
at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}PSMessageDetails :
Where as when I roll back to a snapshot after sharepoint was installed and is waiting to be configured I can get to the provisioning of the Service Applications. Where I get this message:
- Provisioning State Service Application...
- Creating State Service Application Proxy...
- Done creating State Service Application.
- Provisioning Managed Metadata Service Application
- Managed Account kcs.com\SP_Services not found
At \kcs.com\it\installs\Sharepoint\SP2013\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1:2108 char:41 - If ($managedAccountGen -eq $null) { Throw " - Managed Account $($spservice.u ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : OperationStopped: ( - Managed Acco...vices not found:String) [], RuntimeException
- FullyQualifiedErrorId : - Managed Account kcs.com\SP_Services not found
- Script halted!
-
Error provisioning the Managed Metadata Service Application