Hey all,
Recently, I have started to need a Python Notebook to run every minute. This provides real time updating of submitted requests to a ticketing system that is directly involved with geolocation by Survey123.
The ArcGIS Notebook does not allow any scheduled tasks to operate on a minute frequency, so I planned to stage this on a server that would run this through task scheduler.
During my attempts to get this running on the server, I seem to have encountered an issue where I cannot log into the Portal, no matter the combination of my credentials. I would normally use:
GIS("https://portalname.domain.com/webadapter_name", "DOMAIN\\user.account", "password"
But I was met with "Invalid username or password" testing cases and combinations of uppercase and lowercase letters did not change anything.
Using this it was the same:
GIS("https://portalname.domain.com/webadapter_name", "sharing1", "password")
I ended up attempting with Oauth2 and I would much rather not enter an authentication key every single minute, GET requests did not prove viable in ways of getting the oauth key.
How should I proceed with automation and authenticate with my portal when ('home') is not able to be used?
Thank you in advance!