Forum Discussion
Note book Session - Disconnects while running
- 6 months ago
Thanks everyone .
It turned out to be an external factor related to token expiration during the SharePoint access. After addressing the notebook runs are stable and as expected and the problem is resolved at our end ..
Hi nagakosuri this behavior is usually not caused by notebook inactivity itself, but by factors outside the notebook execution, in many analytics platforms (e.g., Fabric, Databricks, Synapse), the browser/UI session can disconnect due to SSO token expiration, corporate security policies, etc.; additionally, when reading from SharePoint, the OAuth access tokens can expire mid-run, causing the connector to fail or stall and terminate the session abruptly 😬
In short, “Session is inactive” not always reflects notebook inactivity, so, you need to look at this more broadly... as you can see there are many factors unique to your execution (network, config, etc.) so, you need to check your execution logs to get more information and pin-point the reason.
The take away is that, your investigation needs to first identify who's actually terminating the connection, the notebook or something external? what does the executions logs say? for instance, are you observing time-outs? token expirations? etc.
If you share more information, we could help diagnose the issue, for the time being, hope this brainstomr session helps ... kudos if you find it useful, all the best.