LCS is your friend in Dynamics 365 as long it is up-to-date. And I have seen it is not always the case. So I will share some tricks to force it.
There are some things you should know LCS is only updating 1 time a day and that is 10 o clock in the evening. But when you look in LCS you see it is not updated for a couple of days. So what’s next?
The issue is that the VM want to send to match data to LCS, and on the end, it is not sending anything at all (at least that is my opinion).
Solution
So, the trick is to reduce the amount of send data. I reduce this data by cleaning up recursive the windows event log. You must start PowerShell on the VM in administrator mode and execute the next statement.
wevtutil el | Foreach-Object {Write-Host “Clearing $_”; wevtutil cl “$_”} |
After cleaning it up, you can start the LCS update task manually by running the windows scheduled task.
Does it always work, now I still have an issue, and it is logged at MS, after this one on the windows event log, it is also game over
<System> <Provider Name=”LcsSystemDiagnostic” /> <EventID Qualifiers=”0″>0</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime=”2017-03-09T10:29:00.000000000Z” /> <EventRecordID>455287</EventRecordID> <Channel>Application</Channel> <Computer>SRA-Build-0</Computer> <Security /> </System> <EventData> <Data>Data file Perf_QueryPlans.xml has exceeded the maximum size limit of 64MB. This data file is excluded from the uploading package. </Data> </EventData> </Event> |
The post Dynamics 365 LCS tricks – force LCS to update appeared first on Kaya Consulting.