Skip To Content

Create Utility Network


Creates a utility network in an enterprise geodatabase feature dataset.

A utility network is created and a structure network, with its collection of feature classes, is added to the target feature dataset. The structure feature classes will be shared across all domain networks as they are created and configured for the utility network.

For more details about system requirements and supported databases, see Create a utility network..


  • The Input Feature Dataset and Service Territory Feature Class parameters must have the same spatial reference.

  • The Service Territory Feature Class parameter must exist in the input feature dataset and must be z- and m-enabled.

  • The DEFAULTS configuration keyword will be used for the output utility network.

  • The utility network cannot be owned by the following:

    • Operating system-authenticated users
    • Database or geodatabase administrator accounts

  • An active ArcGIS Enterprise portal must be set in the project, and the credentials used to sign in should have the minimum privileges of the Creator user type. This user account will be recorded in the utility network properties as the portal utility network owner.


CreateUtilityNetwork(in_feature_dataset, in_utility_network_name, service_territory_feature_class)
ParameterExplanationData Type

The enterprise geodatabase feature dataset in which the utility network and schema will be created.

Feature Dataset

The name of the utility network that will be created.


The existing polygon feature class that will be used to create the utility network's geographical extent. Utility network features cannot be created outside of this extent.

The feature class must be z- and m-enabled.

Feature Layer; Feature Class

Derived Output

NameExplanationData Type

The output utility network.

Utility Network

Code sample

CreateUtilityNetwork example (Python window)

Create a utility network called MyNetwork in a feature dataset called EsriCoOp and a service territory layer called ServiceArea.

import arcpy
                              "MyNetwork", "ServiceArea")


This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics