Commands › Microsoft Teams

Get-CsOnlineLisCivicAddress

Microsoft Teams MicrosoftTeams Get-*

Retrieve information about existing emergency civic addresses defined in the Location Information Service (LIS).

Quick start script

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

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

Syntax

Get-CsOnlineLisCivicAddress [-AssignmentStatus <string>] [-City <string>] [-CivicAddressId <guid>] [-CountryOrRegion <string>]
[-Description <string>] [-Force] [-LocationId <guid>] [-NumberOfResultsToSkip <int>] [-PopulateNumberOfTelephoneNumbers] [-PopulateNumberOfVoiceUsers]
[-ResultSize <long>] [-ValidationStatus <string>] [<CommonParameters>]

Parameters (12)

ParameterTypeRequiredWhat it controls
-AssignmentStatus String **Note:** This parameter has been deprecated from the Teams PowerShell Module version 3.0.0 or later.
-City String Specifies the city of the target civic address.
-CivicAddressId Guid Specifies the identity of the civic address to return.
-CountryOrRegion String Specifies the country or region of the target civic address.
-Description String Specifies the administrator defined description of the target civic address.
-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...
-LocationId Guid This parameter is reserved for internal Microsoft use.
-NumberOfResultsToSkip Int32 Specifies the number of results to skip. If there are a large number of civic addresses, you can limit the number of results by using the ResultSize parameter. If you limited the first cmdlet execution to 25 results,...
-PopulateNumberOfTelephoneNumbers SwitchParameter If present, the PopulateNumberOfTelephoneNumbers switch causes the cmdlet to provide the number of phone numbers at the returned addresses.
-PopulateNumberOfVoiceUsers SwitchParameter If present, the PopulateNumberOfVoiceUsers switch causes the cmdlet to provide the number of voice users at the returned addresses.
-ResultSize Int32 Specifies the maximum number of results to return.
-ValidationStatus String Specifies the validation status of the addresses to be returned. Valid inputs are: Valid, Invalid, and Notvalidated.

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