Hello,
Our organization utilizes ArcGIS Online and ArcGIS Server (Non-federated). We have services on our GIS server that we add to ArcGIS Online and store the credentials. We then go on to use those services in Survey123. I then create reports for those Survey123 using the report functionality on https://survey123.arcgis.com. I create my template and download it manually through https://survey123.arcgis.com and everything works. I now want to automate the report creation using the ArcGIS API for Python. I connect to the Survey Manager and get my specific survey. I run the generate_report function on my survey, but no output is produced. If I then go back to https://survey123.arcgis.com and look at my recent tasks under reports, I can see that it failed due to an invalid token (Screenshot). I'm assuming that it is failing due to underlying service being on ArcGIS Server and having the credentials stored. I am confused as it works if I manually go through the GUI on https://survey123.arcgis.com, but fails when using Python. Am I am not using the generate_report function correctly? or is this bug?
Thanks,
Nikholai