I have a correlation id for an error that an external list has been throwing which I need to view the ULS log entries for. I've connected to the site in SharePoint Online Management Shell using
Connect-SPOService and then attempted to view the logs using
Get-SPOTenantLogEntry -CorrelationId "my-correlation-id".
For some reason this doesn't throw an error, but it also doesn't return any results.
I've then tried to use the code based solution on Vardhaman's blog (link) but the
Microsoft.Online.SharePoint.Client.Tenant assembly appears to no longer be active (the nuget package doesn't support any version of .Net 4.0 onwards).
Assuming I have a correlation Id from an external list and just want to view ULS entries for that error, how do I do it with SharePoint Online?
As per this link: Technet, it seems to be supported for BCS. Why then do I not get any results?