Commands › Microsoft Teams
Set-CsOnlineLisCivicAddress
Use the cmdlet to modify an existing civic address which has not been validated.
Quick start script
# Set-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)
Set-CsOnlineLisCivicAddress -CivicAddressId <Guid> -WhatIf
Set-CsOnlineLisCivicAddress -CivicAddressId <Guid>
# 4. Verify and diff
$after = Get-CsOnlineLisCivicAddress
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
Set-CsOnlineLisCivicAddress -CivicAddressId <Guid> [-CompanyName <String>] [-CompanyTaxId <String>]
[-HouseNumber <String>] [-HouseNumberSuffix <String>] [-StreetName <String>] [-StreetSuffix <String>]
[-PreDirectional <String>] [-PostDirectional <String>] [-City <String>] [-CityAlias <String>]
[-StateOrProvince <String>] [-CountryOrRegion <String>] [-PostalCode <String>] [-Description <String>]
[-ValidationStatus <String>] [-Latitude <String>] [-Longitude <String>] [-Confidence <String>]
[-Elin <String>] [-IsAzureMapValidationRequired <String>] [-Force] [-WhatIf] [-Confirm]
[<CommonParameters>]
Parameters (24)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.