Correlation IDs can be captured in Fiddlers, Browser Dev tools(F12), or an error page. The problem comes when we want to get the ULS logs.
We can run a Merge-SPLogFile but I’d rather not wait and just get the ULS log file from the server. The EncodedServerID is in the correlation ID when we have the. I have PowerShell function that will tell us the EncodedServerID and the server that assigned the correlationID.
How to use this?
Run the PowerShell in the EncodedServerID.PS1.
This can be run from SharePoint servers or any Windows client with PowerShell. We would still need to run Get-SPServer | Select address, EncodedServerId from a SharePoint server in the farm.
Run “Find-EncodedServerId <GUID>”
Running on a server
Running the function on the farm that has the encodedserverID: