SPSearchServiceApp is Creating a New SA Even with Existing DB #1233
Labels
enhancement
The issue is an enhancement request.
help wanted
The issue is up for grabs for anyone in the community.
Details of the scenario you tried and the problem that is occurring
Trying to restore the search service application from existing database. For example, in DR recovery scenario or blue-green deployments or stage infrastructure or for v2v upgrade scenarios.
Verbose logs showing the problem
Current version of the SharePointDsc module is using
New-SPEnterpriseSearchServiceApplication
, whereas when we need to restore a search service application from existing administration database, we need to useRestore-SPEnterpriseSearchServiceApplication
commandlet.Suggested solution to the issue
Check if the administration database already exists in the SQL instance and run either
New-SPEnterpriseSearchServiceApplication
orRestore-SPEnterpriseSearchServiceApplication
depending on the condition.The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
Version of SharePoint that is used (e.g. SharePoint 2016)
Version and build of PowerShell the target node is running
Version of the DSC module that was used
The text was updated successfully, but these errors were encountered: