New-CsOnlineSession does not adhere to Sessionoptions?
There is no category PowerShell, so I list it under Account Access (close enough, I hope...)
I have created Session Options to pass on to the New-CsOnlineSession (SkypeOnlineConnector v7) Command.
My intent was to increase the timeout to 4 hours.
This did not do anything - I still get timeouts after 60min, sometimes even after 5 (which is odd).
Having just switched to creating the session with New-CsOnlineSession (MicrosoftTeams), I could not yet test it thoroughly, but the hardcoded timeout after 60mins seems to be there still.
Can this be looked at please as it is highly disruptive having to reconnect every few minutes just to do your work :)
Cheers,
David

2 comments
-
David Eberhardt commented
Switching to the MicrosoftTeams Module, this now really impacts reconnection! - Have had to disable SessionOptions completely as the Session broke every 5 mins.
On top of that, reconnection now is impossible: Username "oAuth" is shown.
Aborting that, a Credential dialog pops up, which also does not support MFA!Currently cancelling everying, tearing down all sessions and establishing all afresh is the only option!
https://github.com/MicrosoftDocs/office-docs-powershell/issues/7059Please integrate this into Connect-MicrosoftTeams or allow clean reconnection!
Cheers
-
David Eberhardt commented
I have had raised this on the DOCs section before, there is a code example there as well:
https://github.com/MicrosoftDocs/office-docs-powershell/issues/7000