Is there an API that will generate a token using a portal login without a password? I do not have an admin account. I have an account to our AGOL portal, where I login using a URL. If I am running python on my laptop, I can connect using my ArcGIS Pro, if I stay logged into ArcGIS Pro (It times out from time to time :)). But, I would like to generate a token using the REST API generate token in Microsoft Power Automate, so I can rerun my survey123 triggers when their tokens expire. But it requires an username and password. And, our IT department does not allow us to have an admin account.
https://developers.arcgis.com/rest/users-groups-and-items/generate-token.htm
Right now we are running a python script to reprocess these. But we need this python script to be running on someone's machine using Task Manager.
This is to reprocess those that get this error:
{"error":{"message":"498: Invalid token.","code":498}}