Hello,
I try to run a geoprocessing service that uses arcpy.un (to run a trace), but I get an error :
003049: The account logged into portal is not licensed with the Utility Network user type extension...
I am in enterprise 11.3.
To reproduce, I made a simple script that uses arcpy.un :
import os.path
from arcpy import un
arcpy.SignInToPortal("https://portalUrl/arcgis", 'adminAccount', 'pwd')
arcpy.AddMessage("connection successful")
arcpy.AddMessage(arcpy.GetPortalDescription(arcpy.GetActivePortalURL())["user"]["username"])
UN = r"https://portalUrl/ags/rest/services/Utility_Network/FeatureServer/0"
arcpy.un.VerifyNetworkTopology(
in_utility_network=UN,
out_log_file=r"in_memory\test"
)
the error https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-03026-03050-003049.htm
indicates that the user should have an Advanced Editing license, anyway I tried with an administrator account (with an ArcGIS Pro Standard license that include Adv Editing) or with a Creator + Advanced Editing...
Any idea ?