![]()
Troubleshooting “Search Service Application is Not Configured” in SharePoint
When the Search Service Application is not properly configured in SharePoint, search functionality will not work. This issue usually occurs due to:
- Missing or improperly configured Search Service Application (SSA)
- Unconfigured Search Service Topology
- Search Components not being assigned
- Insufficient permissions for the Search Service account
- Corrupted search database
- Service not running
This guide provides a detailed step-by-step approach to configuring the Search Service Application properly.
Step 1: Verify the Issue
Before making changes, confirm that the Search Service Application is missing or not configured properly.
1.1: Check If the Search Service Application Exists
- Open Central Administration.
- Go to Manage Service Applications.
- Look for Search Service Application.
- If missing, it needs to be created.
- If present but not working, it needs to be reconfigured.
1.2: Check Search Service Application Status
- Click on Search Service Application (if it exists).
- Check for errors under Search Administration.
- Look for warnings such as:
- Search Component Failures
- Search Index not responding
- No Search Topology configured
Step 2: Ensure Search Services are Running
If the Search Service Application exists but does not function, ensure the necessary services are running.
2.1: Check Services on Server
- Open Central Administration.
- Navigate to System Settings > Manage Services on Server.
- Ensure the following services are running:
- Search Service
- Search Host Controller Service
- Distributed Cache Service
- SharePoint Timer Service
2.2: Start Services Using PowerShell
If any of the services are stopped, start them manually:
Start-Service -Name OSearch15
Start-Service -Name SPSearchHostController
Start-Service -Name SPTimerV4
After restarting services, check if the issue is resolved.
Step 3: Create or Recreate the Search Service Application
If the Search Service Application is missing or corrupt, recreate it.
3.1: Delete the Existing Search Service Application (If Needed)
⚠ Warning: Deleting an existing SSA will remove search index data.
- Open Central Administration.
- Navigate to Manage Service Applications.
- Select Search Service Application and click Delete.
- Check Delete data associated with the service application.
- Click OK.
3.2: Create a New Search Service Application
- Open Central Administration.
- Navigate to Manage Service Applications > New > Search Service Application.
- Provide a Name (e.g.,
Search Service Application). - Choose Search Service Account (or create a new one).
- Create a new Application Pool for the search service.
- Click OK and wait for the application to be created.
3.3: Verify That SSA Was Created Successfully
- Open Manage Service Applications.
- Confirm that Search Service Application appears in the list.
- Click on it and check Search Administration for any errors.
Step 4: Configure Search Topology
If the Search Topology is not configured, search will not work.
4.1: View Current Search Topology
- Open Central Administration.
- Navigate to Search Administration.
- Click Manage Search Topology.
- Ensure the following components are listed:
- Admin Component
- Crawl Component
- Query Processing Component
- Index Component
- Analytics Processing Component
- Content Processing Component
If components are missing, manually configure them.
4.2: Configure Search Topology Using PowerShell
If topology components are missing, use the following PowerShell commands:
$ssa = Get-SPEnterpriseSearchServiceApplication
New-SPEnterpriseSearchTopology -SearchApplication $ssa
$server = Get-SPEnterpriseSearchServiceInstance
New-SPEnterpriseSearchAdminComponent -SearchTopology $ssa -SearchServiceInstance $server
New-SPEnterpriseSearchCrawlComponent -SearchTopology $ssa -SearchServiceInstance $server
New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $ssa -SearchServiceInstance $server
New-SPEnterpriseSearchIndexComponent -SearchTopology $ssa -SearchServiceInstance $server
New-SPEnterpriseSearchContentProcessingComponent -SearchTopology $ssa -SearchServiceInstance $server
New-SPEnterpriseSearchAnalyticsProcessingComponent -SearchTopology $ssa -SearchServiceInstance $server
Set-SPEnterpriseSearchTopology -SearchApplication $ssa -Active
Step 5: Configure Content Sources and Start a Full Crawl
5.1: Add Content Sources
- Open Central Administration.
- Navigate to Search Administration > Content Sources.
- Click New Content Source.
- Choose SharePoint Sites and enter the URL of the site collection.
- Click OK.
5.2: Start a Full Crawl
- Go to Search Administration > Content Sources.
- Click Start Full Crawl on the SharePoint Sites content source.
- Wait for the crawl to complete.
Check search results to see if content appears.
Step 6: Verify Search Service Account Permissions
6.1: Assign Correct Permissions to the Search Service Account
- Open Central Administration.
- Navigate to Security > Configure Service Accounts.
- Ensure the Search Service Account is assigned to the Search Service Application.
- Check that the account has Full Read access on the User Profile Service.
6.2: Grant Database Permissions
The Search Service Account needs db_owner permissions on the Search Database.
- Open SQL Server Management Studio (SSMS).
- Connect to the SharePoint SQL Database.
- Find the Search Database (
Search_Service_Application_DB). - Assign db_owner role to the Search Service Account.
Step 7: Restart Services and IIS
7.1: Restart Search Services
Restart-Service -Name OSearch15
Restart-Service -Name SPSearchHostController
7.2: Restart IIS
iisreset /noforce
7.3: Restart SharePoint Timer Service
Restart-Service -Name SPTimerV4
Step 8: Test Search Functionality
- Go to a SharePoint site.
- Search for a known document or item.
- If results appear, Search Service Application is now configured properly.
