Commands › Microsoft Teams

Set-CsOnlineLisWirelessAccessPoint

Microsoft Teams MicrosoftTeams Set-*

Creates a Location Information Server (LIS) wireless access point (WAP), creates an association between a WAP and a location, or modifies an existing WAP and its associated location. The association between a WAP and location is used in an Enhanced 9-1-1 (E9-1-1) Enterprise Voice implementation to notify an emergency services operator of the caller's location.

Quick start script

# Set-CsOnlineLisWirelessAccessPoint — 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-CsOnlineLisWirelessAccessPoint
$before | Format-List

# 3. Make the change (dry run first)
Set-CsOnlineLisWirelessAccessPoint -BSSID <String> -LocationId <Guid> -WhatIf
Set-CsOnlineLisWirelessAccessPoint -BSSID <String> -LocationId <Guid>

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

Syntax

Set-CsOnlineLisWirelessAccessPoint [-BSSID] <string> -LocationId <guid> [-Description <string>] [-Force] [-IsDebug <bool>] [-NCSApiUrl <string>]
 [-TargetStore <string>] [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (9)

ParameterTypeRequiredWhat it controls
-BSSID String yes The Basic Service Set Identifier (BSSID) of the wireless access point. This value must be in the form nn-nn-nn-nn-nn-nn, such as 12-34-56-78-90-ab. If an entry with the specified BSSID value does not exist, a new WAP...
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-Description String Specifies the administrator defined description of the WAP.
-Force SwitchParameter The Force switch specifies whether to suppress warning and confirmation messages. It can be useful in scripting to suppress interactive prompts. If the Force switch isn't provided in the command, you're prompted for...
-IsDebug Boolean This parameter is reserved for internal Microsoft use.
-LocationId Guid yes The name for this location.
-NCSApiUrl String This parameter is reserved for internal Microsoft use.
-TargetStore String This parameter is reserved for internal Microsoft use.
-WhatIf SwitchParameter Shows what would happen if the cmdlet runs. The cmdlet is not run.

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