AnsweredAssumed Answered

How to Use Python to Log into AGOL

Question asked by atobin15 on Aug 25, 2020
Latest reply on Aug 26, 2020 by atobin15

We have an AGOL Organization account. Every day I run python code in the IDLE (2.7.16) window that automates stuff in ArcMap and uploads it to AGOL. The only problem is that I have to manually go into ArcMap to sign into AGOL. Is there code I can add to my script that will log me in? I've looked into the ArcGIS API for Python and its all a little over my head. I can't get the GIS module to import into IDLE (2.7.16).