Forum Discussion
O365 apps ask for sign-in after being used by a script
Hi friends!
We have some windows running in the cloud, and we have created some scripts to automate tasks. Those scripts read/write excels that are in Sharepoint folders shared to those users and synched up.
I can open and close those excels and the system won't ask for credentials (which is ok, the user is already authenticated), however, if I open them using a script (and just opening the file) a couple of times, and eventually kill the app, eventually those files start asking for credentials when opened, and the signing in request won't go away, and problems with synchronization will start happening. No matter if I restart the computer.
Could it be that using apis to open those files corrupts something somewhere?
Any help will be greatly appreciated!