Commands › Microsoft Teams

Remove-CsMainlineAttendantQuestionAnswerFlow

Microsoft Teams MicrosoftTeams Remove-*

The Remove-CsMainlineAttendantQuestionAnswerFlow cmdlet deletes an existing Mainline attendant question and answer flow.

Quick start script

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

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-CsMainlineAttendantQuestionAnswerFlow
$before | Format-List

# 3. Make the change
Remove-CsMainlineAttendantQuestionAnswerFlow -Identity <Guid>

# 4. Verify and diff
$after = Get-CsMainlineAttendantQuestionAnswerFlow
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Remove-CsMainlineAttendantQuestionAnswerFlow -Identity <Guid> [-Tenant <Guid>] [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Identity Guid yes The identifier of the question and answer flow.
-Tenant Guid This parameter is reserved for Microsoft internal use only.

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