Portal 10.3.1

508
3
Jump to solution
04-30-2018 11:41 AM
PatrickWild3
New Contributor III

My Anaconda and ArcGIS api for python tested successfully with anonymous authentication from AGOL. When I try to access our onsite portal via admin module I get: "AttributeError: 'tuple' object has no attribute 'admin'"

Is the api not supported with portal version 10.3.1?

0 Kudos
1 Solution

Accepted Solutions
DanielUrbach
Occasional Contributor II

Patrick,

Although I can't find any specific documentation that definitively states it is not supported, looking at the documentation for "Scripting with ArcGIS Python API", the version dropdown shows version 10.4 and 10.3 grayed out, which probably means it is not supported at those versions.

-Danny

View solution in original post

0 Kudos
3 Replies
DanielUrbach
Occasional Contributor II

Patrick,

Although I can't find any specific documentation that definitively states it is not supported, looking at the documentation for "Scripting with ArcGIS Python API", the version dropdown shows version 10.4 and 10.3 grayed out, which probably means it is not supported at those versions.

-Danny

0 Kudos
PatrickWild3
New Contributor III

Thanks Daniel,

I guess it's best to use REST API for Portal/Server admin and scripting for version 10.4 and earlier?

0 Kudos
DanielUrbach
Occasional Contributor II

Patrick,

I would say that is your best bet.  You could use Portalpy for that:

GitHub - Esri/portalpy: A module that allows you to administer Portal for ArcGIS and ArcGIS Online. 

This works for all versions of Portal.

0 Kudos