Get-SPOTenantLogLastAvailableTimeInUtc
Returns the most recent time when the SharePoint Online organization logs were collected.
Syntax
Get-SPOTenantLogLastAvailableTimeInUtc []
Description
This cmdlet retrieves the time in Coordinated Universal Time (UTC) when the logs were last collected.
After you know the time, you can use the Get-SPOTenantLogEntry
cmdlet to retrieve the logs.
You must be a SharePoint Online administrator or Global Administrator to run the cmdlet.
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at Intro to SharePoint Online Management Shell.
Examples
-----------------------EXAMPLE 1-----------------------------
Get-SPOTenantLogLastAvailableTimeInUtc
This example returns the time in UTC when the SharePoint Online organization logs were most recently collected.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for