Commands › Microsoft Teams

Get-CsMainlineAttendantFlow

Microsoft Teams MicrosoftTeams Get-*

The Get-CsMainlineAttendantFlow cmdlet returns information about the Mainline Attendant flows configured in your organization

Quick start script

# Get-CsMainlineAttendantFlow — 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-CsMainlineAttendantFlow | Format-List

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

Syntax

Get-CsMainlineAttendantFlow  [-RelatedConfigurationIds <String>] [-Type <String>] [-Identity <String>] [-First <UInt32>] [-Skip <UInt32>] [-NameFilter <String>] [-SortBy <String>] [-Descending] [-Tenant <Guid>] [<CommonParameters>]

Parameters (8)

ParameterTypeRequiredWhat it controls
-RelatedConfigurationIds String The Mainline Attendant configuration Id
-Type String The Mainline Attendant flow type
-Identity String The Mainline Attendant identity
-First UInt32 The First parameter gets the first N Mainline Attendant flows, up to a maximum of 100 at a time. When not specified, the default behavior is to return the first 100 Mainline Attendant flows. It is intended to be used...
-Skip UInt32 The Skip parameter skips the first N Mainline Attendant flows. It is intended to be used in conjunction with the `-First` parameter for pagination purposes.
-SortBy String The SortBy parameter specifies the property used to sort.
-Descending SwitchParameter The Descending parameter sorts Mainline Attendant flows in descending order
-NameFilter String The NameFilter parameter returns Mainline Attendant flows where the name contains the specified string.

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