I'm trying to apply an asset package we received from one of our customers and I'm getting the error "The Utility Network must be version 5". I've just been back through and upgraded everything (ArcGIS Pro 2.7, Untools, and upgraded the Enterprise Geodatabase) but even after I stage a new utility network it looks like it's version 3. When I try to apply the asset package we received from our customer we get the error again.
The Utility Network must be version 5
Not sure if this is your problem, but worth a try...
Starting at ArcGIS Pro 2.7 for enterprise geodatabases, the tools to create and upgrade a utility network look at the ArcGIS Pro and ArcGIS Enterprise versions to determine what version of the UN to create or upgrade. You won't be able to upgrade to UN version 5 unless you have a federated server of 10.9 for enterprise geodatabases.
Check out the section on ArcGIS compatibility
following up on this issue, I am at ArcGIS Pro 2.8.3, ArcServer 10.9. I download the UN water sample asset package and database. The Asset Package is at model 4.1 and the Database network is at Model 5. IN trying to upgrade the asset package, the tool does not work as there is not script associated with it. IN trying to run the script from within a python file, I get errors that the module does not work.
I really want to use an work with the UN Utility network, but I no longer believe I have the knowledge or the resources to proceed. It has been one thing after another, several chats and calls to ESRI tech support, and reading several posts, articles and such all with conflicting information. I may need to wave the white flag.
Sorry, just need to vent.
You probably need to run Upgrade Asset Package tool to bring the version of the asset package to match the version of ArcGIS Pro. See https://solutions.arcgis.com/utilities/help/utility-network-automation/tool-reference/upgrade-asset-...
Otherwise, temporarily downgrade your ArcGIS Pro to v2.5.x to match UN Asset Package version you have and build UN and publish, provided you have matching ArcGIS Enterprise (10.7 or later as per the table at https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/utility-network-dataset-administr... )