How to get Logs files form share point Online. RRS feed

  • Question

  • Hello,

    I  got one issues in InfoPath I want search the logs files in share point online.

    How to get logs from Online share point.

    I have used this below code but admin getting o results.

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

    Wednesday, January 13, 2016 5:15 AM