Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

New-CsOnlineLisCivicAddress

Use the New-CsOnlineLisCivicAddress cmdlet to create a civic address in the Location Information Service (LIS).

Syntax

Default (Default)

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>]

Description

Because each civic address needs at least one location to assign to users, creating a new civic address also creates a default location. This is useful in cases where a civic address has no particular sub-locations. In that scenario you can create the civic address using the New -CsOnlineLisCivicAddress cmdlet and use the default location identifier for assignment to users. The example output from the Get-CsOnlineLisCivicAddress below shows the DefaultLocationId property.

CivicAddressId : 51a8a6e3-dae4-4653-9a99-a6e71c4c24ac

HouseNumber :

HouseNumberSuffix :

PreDirectional :

StreetName :

StreetSuffix :

PostDirectional :

City :

PostalCode :

StateOrProvince :

CountryOrRegion : US

Description :

CompanyName : MSFT

DefaultLocationId : 75301b5d-3609-458e-a379-da9a1ab33228

ValidationStatus : NotValidated

NumberOfVoiceUsers : 0

Examples

Example 1

New-CsOnlineLisCivicAddress -HouseNumber 1 -StreetName 'Microsoft Way' -City Redmond -StateorProvince Washington -CountryOrRegion US -PostalCode 98052 -Description "West Coast Headquarters" -CompanyName Contoso -Latitude 47.63952 -Longitude -122.12781 -Elin MICROSOFT_ELIN

This example creates a new civic address described as "West Coast Headquarters": 1 Microsoft Way, Redmond WA, 98052 and sets the geo-coordinates.

Parameters

-City

Applicable: Microsoft Teams

Specifies the city of the new civic address.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-CityAlias

Applicable: Microsoft Teams

Specifies the city alias of the new civic address.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-CompanyName

Applicable: Microsoft Teams

Specifies the name of your organization.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-CompanyTaxId

Applicable: Microsoft Teams

Specifies the company tax identifier of the new civic address.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Confidence

This parameter is reserved for internal Microsoft use.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Confirm

Applicable: Microsoft Teams

The Confirm switch causes the command to pause processing, and requires confirmation to proceed.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

-CountryOrRegion

Applicable: Microsoft Teams

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Description

Applicable: Microsoft Teams

Specifies an administrator defined description of the new civic address.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Elin

Applicable: Microsoft Teams

Specifies the Emergency Location Identification Number. This is used in Direct Routing EGW scenarios.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Force

Applicable: Microsoft Teams

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 administrative input if required.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-HouseNumber

Applicable: Microsoft Teams

Specifies the numeric portion of the new civic address.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-HouseNumberSuffix

Applicable: Microsoft Teams

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".

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-IsAzureMapValidationRequired

This parameter is reserved for internal Microsoft use.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Latitude

Applicable: Microsoft Teams

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Longitude

Applicable: Microsoft Teams

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-PostalCode

Applicable: Microsoft Teams

Specifies the postal code of the new civic address.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-PostDirectional

Applicable: Microsoft Teams

Specifies the directional attribute of the new civic address which follows the street name. For example, "425 Smith Avenue NE".

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-PreDirectional

Applicable: Microsoft Teams

Specifies the directional attribute of the new civic address which precedes the street name. For example, "425 NE Smith Avenue".

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-StateOrProvince

Applicable: Microsoft Teams

Specifies the state or province of the new civic address.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-StreetName

Applicable: Microsoft Teams

Specifies the street name of the new civic address.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-StreetSuffix

Applicable: Microsoft Teams

Specifies the street type of the new civic address. The street suffix will typically be something like street, avenue, way, or boulevard.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ValidationStatus

This parameter is reserved for internal Microsoft use.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-WhatIf

Applicable: Microsoft Teams

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.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Related Links


Feedback

Was this page helpful?