Greetings,
I am in the process of provisioning enterprise search service application. I am doing this via PowerShell script. I am confident in the PowerShell script. I receive an exception during the call to New-EnterpriseSearchServiceApplication. I receive the following exception:
New-SPEnterpriseSearchServiceApplication : A database exception occurred when creating Search Application: User does not have permission to perform this action.
At \\pac\data\PTS\FS01_STORE\Technology\Vendor\Microsoft\SharePoint_2013\scripts\Install\Provision-SearchServiceApplication.ps1:52 char:29
+ $searchServiceApp = New-SPEnterpriseSearchServiceApplication -Name $serv ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Offic...viceApplication:NewSearchServiceApplication) [New-SPEnterpriseSearchServiceApplication], ApplicationException
+ FullyQualifiedErrorId : Microsoft.Office.Server.Search.Cmdlet.NewSearchServiceApplication
However, the Search Service Application IS created and the (4) associated databases. Obviously, since this happens, the script fails on the next call to create the proxy.
What would cause the service application and databases to be created but then indicate the user doesn't have permissions?
Thank you in advance for your help!
Bob