Commands › Microsoft Teams

New-CsOnlineLisCivicAddress

Microsoft Teams MicrosoftTeams New-*

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)

ParameterTypeRequiredWhat it controls
-City String Specifies the city of the new civic address.
-CityAlias String Specifies the city alias of the new civic address.
-CompanyName String yes Specifies the name of your organization.
-CompanyTaxId String Specifies the company tax identifier of the new civic address.
-Confidence String This parameter is reserved for internal Microsoft use.
-Confirm SwitchParameter The Confirm switch causes the command to pause processing, and requires confirmation to proceed.
-CountryOrRegion String yes Specifies the country or region of the new civic address. Needs to be a valid country code as contained in the ISO 3166-1 alpha-2 specification.
-Description String Specifies an administrator defined description of the new civic address.
-Elin String Specifies the Emergency Location Identification Number. This is used in Direct Routing EGW scenarios.
-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...
-HouseNumber String Specifies the numeric portion of the new civic address.
-HouseNumberSuffix String Specifies the numeric suffix of the new civic address. For example, if the property was multiplexed, the HouseNumberSuffix parameter would be the multiplex specifier: "425A Smith Avenue", or "425B Smith Avenue".
-IsAzureMapValidationRequired String This parameter is reserved for internal Microsoft use.
-Latitude String yes Specifies the angular distance of a place north or south of the earth's equator using the decimal degrees format. Required for all countries/regions except Australia and Japan where it's optional.
-Longitude String yes Specifies the angular distance of a place east or west of the meridian at Greenwich, England, using the decimal degrees format. Required for all countries/regions except Australia and Japan where it's optional.
-PostalCode String Specifies the postal code of the new civic address.
-PostDirectional String Specifies the directional attribute of the new civic address which follows the street name. For example, "425 Smith Avenue NE".
-PreDirectional String Specifies the directional attribute of the new civic address which precedes the street name. For example, "425 NE Smith Avenue".
-StateOrProvince String Specifies the state or province of the new civic address.
-StreetName String Specifies the street name of the new civic address.
-StreetSuffix String Specifies the street type of the new civic address. The street suffix will typically be something like street, avenue, way, or boulevard.
-ValidationStatus String This parameter is reserved for internal Microsoft use.
-WhatIf SwitchParameter The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.

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