Commands › Microsoft Teams
New-CsOnlineLisCivicAddress
Create a civic address in the Location Information Service (LIS).
Quick start script
# New-CsOnlineLisCivicAddress — 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-CsOnlineLisCivicAddress
$before | Format-List
# 3. Make the change (dry run first)
New-CsOnlineLisCivicAddress -CompanyName <String> -CountryOrRegion <String> -Latitude <String> -WhatIf
New-CsOnlineLisCivicAddress -CompanyName <String> -CountryOrRegion <String> -Latitude <String>
# 4. Verify and diff
$after = Get-CsOnlineLisCivicAddress
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
New-CsOnlineLisCivicAddress -CompanyName <string> -CountryOrRegion <string> [-City <string>] [-CityAlias <string>] [-CompanyTaxId <string>]
[-Description <string>] [-Elin <string>] [-Force] [-HouseNumber <string>] [-HouseNumberSuffix <string>]
[-Latitude <string>] [-Longitude <string>] [-PostalCode <string>] [-PostDirectional <string>] [-PreDirectional <string>]
[-StateOrProvince <string>] [-StreetName <string>] [-StreetSuffix <string>] [-Confidence <String>] [-IsAzureMapValidationRequired <String>] [-ValidationStatus <String>]
[-WhatIf] [-Confirm] [<CommonParameters>]
Parameters (23)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.