Lync/Skype for Business – Remove old reporting configuration URL

When you work with Lync or Skype for Business reporting URL, you may have some old urls, you need to delete.
This is how you can delete all old URLs for reporting server, who are not working anymore.

Old Reporting URL

Get-CsReportingConfiguration


Identity : Service:1-MonitoringStore-8
ReportingUrl : https://oldserver.contoso.com:443/ReportServer/Pages/ReportViewer.aspx?%2fLyncServerReports%2f
Reports+Home+Page

Identity : Service:MonitoringDatabase:newserver.contoso.com
ReportingUrl : http://newserver.contoso.com:80/ReportServer/Pages/ReportViewer.aspx?%2fLyncServerReports%2fReports+Home+Page

Remove-CsReportingConfiguration -Identity Service:1-MonitoringStore-8
Get-CsReportingConfiguration

Identity : Service:MonitoringDatabase:newserver.contoso.com
ReportingUrl : http://newserver.contoso.com:80/ReportServer/Pages/ReportViewer.aspx?%2fLyncServerReports%2fReports+Home+Page

New view:

reportingURL