Commands › Microsoft Teams

New-CsMainlineAttendantAppointmentBookingFlow

Microsoft Teams MicrosoftTeams New-*

Creates new Mainline Attendant appointment booking flow

Quick start script

# New-CsMainlineAttendantAppointmentBookingFlow — 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-CsMainlineAttendantAppointmentBookingFlow
$before | Format-List

# 3. Make the change
New-CsMainlineAttendantAppointmentBookingFlow -Name <String> -Description <String> -AppointmentBookingPlatform <String>

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

Syntax

New-CsMainlineAttendantAppointmentBookingFlow -Name <String> -Description <String>  -AppointmentBookingPlatform <String> -BookingLink <String> -CallerAuthenticationMethod <SMS | Email | VerificationLink | Voiceprint | UserDetails> -ApiAuthenticationType <Basic | ApiKey | BearerTokenStatic | BearerTokenDynamic> -ApiDefinitions <String> [-Tenant <Guid>] [<CommonParameters>]

Parameters (5)

ParameterTypeRequiredWhat it controls
-Name String yes The name of the appointment booking flow
-Description String yes The description for the appointment booking flow
-AppointmentBookingPlatform String yes The booking platform being used.
-BookingLink String yes The Microsoft Bookings URL for the booking calendar to be used.
-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.