Commands › Microsoft Teams

Get-TeamsArtifacts

Microsoft Teams MicrosoftTeams Get-*

The `Get-TeamsArtifacts` is available only to tenant administrators and is designed to export Recordings, Transcripts, Notes and Whiteboard artifacts of Teams Meetings. All parameters are optional. If no parameters are specified, artifact metadata is returned for Teams artifacts in all standard OneDrive for Business and SharePoint locations. The actual artifacts themselves can then be downloaded from the URLs in the metadata returned. Output is written to artifacts.json in the current directory.

Quick start script

# Get-TeamsArtifacts — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Run and inspect
Get-TeamsArtifacts | Format-List

# 3. Export for evidence / drift tracking
Get-TeamsArtifacts | Export-Clixml .\TeamsArtifacts-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-TeamsArtifacts [-OneDrive <String>] [-SharePoint] [-ArtifactType <String>] [-StartTime <String>] [-EndTime <String>]

Parameters (5)

ParameterTypeRequiredWhat it controls
-OneDrive String Returns only artifacts that are hosted in the standard locations of that user's OneDrive for Business.
-SharePoint SwitchParameter Returns only the artifacts that are hosted in SharePoint sites (typically from channel meetings).
-ArtifactType String Filters the results to a single artifact type. It's s Enum containing only three values: RecordingTranscript | Notes | Whiteboard.
-StartTime String Omits artifacts that are last modified prior to this date and time.
-EndTime String Omits artifacts that are last modified after this date and time.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.