Forum Discussion
RNalivaika
Sep 11, 2020Iron Contributor
Run Exchange Online Powershell script as background job
Hello Exchange Online and Powershell experts, I have a script that fails to complete because of time-out in session. Therefore, I thought of running it as a background job. I've seen some articles ab...
- Sep 11, 2020
The V2 module has some better login and should reconnect sessions automatically (for a time), but other than that not much has changed and you should still follow the same old recommendations.
farismalaeb
Sep 12, 2020Iron Contributor
If the session time out resulting of inactivity, then you can keep sending from time to time a request to the exchange server and small invocation for the connection to keep the session active.