3

There is a way to get logs of the corresponding correlation id in SharePoint Online without passing by Microsoft support?

2 Answers 2

5

Unfortunately, there is no way to get those logs yourself. Previously, some powershell/csom commandlets used to work, but looks like MS has disabled them now.

The only way is to contact MS support.

There is user voice link I have mentioned below, you can upvote on it and hope that probably MS adds access some day in the future.

Uservoice link - Access SPO ULS entries for correlation id

0
3

Microsoft uses the Unified Logging System (ULS) in the SharePoint Online environment. Sometimes we receive requests to share these ULS logs with customers for troubleshooting and debugging scenarios. Microsoft does not provide copies of ULS logs or any access to ULS logs from SharePoint Online. Information about ULS log access for SharePoint Online

I would try Get-SPOTenantLogEntry, if that works for you.

$endTimeinUTC = Get-SPOTenantLogLastAvailableTimeInUtc
$startTimeinUTC = $endTimeinUTC.AddDays (-14)
$tenantlogs = Get-SPOTenantLogEntry -StartTimeinUtc $startTimeinUTC -EndTimeinUTC $endTimeinUTC -CorrelationId yourCorrelationId

If not, then you should contact support.

3
  • I have already used it but it returns nothing. Commented Sep 5, 2017 at 21:21
  • That method is hit and miss thing not 100% suces...i would try within 1 day of days range if get anything otherwise contact to MSFT for issue
    – Waqas Sarwar MVP
    Commented Sep 5, 2017 at 21:34
  • This is what it says in Get-SPOTenantLogEntry page "For Beta 2, the only company logs available are for Business Connectivity Services (BCS)"
    – Aslan
    Commented Apr 30, 2019 at 12:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.