Select to view content in your preferred language

login to ORGANIZATIONAL portal via Arcgis Pro 3.2 via python notebook

82
2
yesterday
Labels (3)
KevinPreston
New Contributor

How do I login to my organizational portal?  I used the same credentials I always use, but the portal does not recognize me.  Am I using the wrong url, or is there some extra parameters needed for organizational login?

Attempting to login to organizational portal (https://osugisci.maps.arcgis.com/home/index.html) within the Arcgis Pro 3.2.  I followed the 'Accessing Data in a Portal Using ArcGIS API for Python' tutorial at Esri's training website, although they only have tutorial for Pro 3.0 and Pro 3.1.  I am using python in the notebook:

KevinPreston_2-1720202678092.png

The error:

KevinPreston_1-1720202552505.png

 

0 Kudos
2 Replies
jcarlson
MVP Esteemed Contributor

Just use the basic portal URL, no need to elaborate beyond the .com.

gis = GIS("https://osugisci.maps.arcgis.com", "user", "pass")

Also, when it's just an AGOL org, you can leave it at "https://arcgis.com" and should still work, since your username / password is for AGOL as a whole. It will pick up your org once you're logged in.

- Josh Carlson
Kendall County GIS
0 Kudos
KevinPreston
New Contributor

The proposal doesn't work.

0 Kudos