1

I'm connecting to Portal via the GIS object.

from arcgis.gis import GIS
portal = GIS(<my portal>)
print(portal.version) # gives [10,3]

portal_version_from_python

But my portal is at version 11.1. That's what the Portal Admin URL shows.

portal_version_sc

Why is there a mismatch? How do I fix this?

1 Answer 1

2

The 10.3 version is coming from the Sharing API version (sharing/rest/portals/self?f=pjson) - yes, that's confusing as it's not the portal version.

In the 11.3 version of Portal, the enterpriseVersion was added. At this release and higher you could do something like

self.gis._properties.enterpriseVersion
>'11.4.0'

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.