When PowerShell script runs “none-interactively” as a scheduled job an exception “one more error occurred” is thrown. As a minimum introduction of API call that can extend the lifespan of token would be helpful so one can launch the script interactively and run it for a longer period of time.
When PowerShell script runs “none-interactively” as a scheduled job an exception “one more error occurred” is thrown. As a minimum introduction of API call that can extend the lifespan of token would be helpful so one can launch the script interactively and run it for a longer period of time.