Hi James Tedrick, I don't think this has anything to do with ArcGIS Pro. I am experiencing the same issue.
Our client only has ArcGIS Online, no ArcGIS Pro or access to ArcPy (only ArcGIS API for Python) and long story short, I wrote a Python script that does basic ETL processes (gets data from their API, transforms and loads it into a Hosted Feature Layer in their AGOL account). I followed the approach here to set up a .arcgisprofile persisted profile for saving the credentials to their AGOL account on the local machine in windows credentials manager:
- To create the profile using Python (once off):
gis = GIS(url="https://arcgis.com", username="something", password="something", profile="AGOL_prof"')
- For the script to use the profile from then on onwards:
gis = GIS(
profile=
"AGOL_prof")
It worked fine for a few weeks, the python script was scheduled and the layer in AGOL was updated regularly with new data like it should.
After a windows update one night, we realised the layer wasn't being updated anymore and I saw this when I tried to run the script using Command Prompt:
I had to delete the profile and create it again. It worked for a day and then the same thing happened again.
Hope this helps
Jade