Hi,
To recreate the Usage and Health service application, refer to the following steps:
- Deleted the Usage and Health service application from CA.
- Refer to the article:
http://njbblog.blogspot.com/2014/01/sharepoint-2013-how-to-configure-usage.html create a new Usage and Health service application with PowerShell. we can't use an exists database, we need to use an not existed database named "WSS_UsageApplication1"
$SvcApp = New-SPUsageApplication –Name “WSS_UsageApplication” -DatabaseName "WSS_UsageApplication1" –DatabaseServer “SQL”
$SvcAppProxy = Get-SPServiceApplicationProxy | Where {$_.TypeName -like “Usage and Health*”}
$SvcAppProxy.Provision()
Now, we created the Usage and Health service application successfully.
If you want to use the old database, refer to the following article about point the Usage and Health data collection service application to database by using Windows PowerShell:
https://technet.microsoft.com/en-us/library/jj729804.aspx
Best Regards,
Lisa Chen
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
tnmff@microsoft.com.
