Resetting CLS Configuration

I was recently working with a customer that was having problems with running CLS logging. When we ran any of the CLS commands we would get the error message below. We found that we would need to "Reset" the CLS configuration and see if that resolved the issue, which it did. When running the commands below it will reset the entire CLS configuration to the defaults meaning any custom scenarios will be removed.

1. Run Get-CsClsConfiguration to determine whether there is only a global config or also site level configs. If there are site level configs perform step 2 and if there is only a global config proceed to step 3.

2. Remove-CsClsConfiguration –Identity Site:<sitename>

3. Remove-CsClsConfiguration –Identity Global

4. Run Get-Service RTCCLSAGT | Restart-Service on all Lync 2013 Servers