DOC
|
Any chance you could update this for the new Support page, as the new page makes it almost impossible to find latest patches for specific versions.
... View more
04-17-2023
09:04 PM
|
0
|
0
|
2983
|
POST
|
I have been able to recreate this issue with versions of the ArcGIS Python API from 1.8.2 to 1.9.1. For anyone still having this issue, it seems it is caused when using a non-standard Portal Administrator account to connect with. There seems to be a way around by explicitly re-connecting using the 'portal_connection' optional argument as follows: gis = GIS(portal_url, user_name, user_pass)
hosting_server_url = gis.admin.servers.get(role="HOSTING_SERVER")[0].url
hosting_server = Server(url=hosting_server_url,
portal_connection=gis) For some reason, the Server Object returned from gis.admin.servers.get() is a connection, but not a true Administrative connection. I was able to return the URL, but not many other properties. Hope this helps.
... View more
10-19-2021
05:03 PM
|
0
|
0
|
822
|
POST
|
I have been able to recreate this issue with versions of the ArcGIS Python API from 1.8.2 to 1.9.1. For anyone still having this issue, it seems it is caused when using a non-standard Portal Administrator account to connect with. There seems to be a way around by explicitly re-connecting using the 'portal_connection' optional argument as follows: gis = GIS(portal_url, user_name, user_pass)
hosting_server_url = gis.admin.servers.get(role="HOSTING_SERVER")[0].url
hosting_server = Server(url=hosting_server_url,
portal_connection=gis) For some reason, the Server Object returned from gis.admin.servers.get() is a connection, but not a true Administrative connection. I was able to return the URL, but not many other properties. Hope this helps someone.
... View more
10-19-2021
04:50 PM
|
2
|
1
|
5551
|
Title | Kudos | Posted |
---|---|---|
2 | 10-19-2021 04:50 PM |
Online Status |
Offline
|
Date Last Visited |
04-18-2023
05:05 AM
|