I have an MS form created in an MS Teams Team. The responses submitted in this form are saved in a list on the sharepoint online site associated with the MS Teams team. I am an owner of the MS Teams team.
Additionally, I have a .ps1 script that I run under my credentials to connect to the SPO site and read the list items from the SPO list to then perform a set of downstream actions. I would like to modify the script to run as a non-human identity.
How can I achieve this through the use of something similar to a service account? Please note that I do not, and cannot have admin access to the SharePoint Online site.