Credential Creep in New-CsOnlineSession
After establishing a Session to Tenant A, closing the session, by removing the PSSession (Remove-PSSession because it is no longer needed or timed out), then establishing a new Session to Tenant B, the Session Token from Tenant A is sitll present preventing connection to Tenant B.
New-CsOnlineSession tries to authenticate me with the Username from Tenant A, despite me selecting the correct Login in the via the modern authentication popup.
I cannot find a way to remove this session token cleanly (without closing the PowerShell Session altogether)
The behaviour with the New-CsOnlineSession Command in Module MicrosoftTeams is now different to that of the same command in the SkypeOnlineConnector (where I never received this error because the session was always established with the Username parameter, connecting to the correct tenant).
I cannot disconnect the session (not supported) or exit or do anything else really. The only path I have is to open a new PowerShell window.
I believe this is a bug. I select the correct Username and, with or without the OverrideAdminDomain, it tries to authenticate me with a different User.
I have screenshots to document my steps, a GitHub issue and a Case Number from the Office 365 Support as well. They agree with me that this is a bug, but sadly we weren't able to find a path to open a bug report.
Can this please be investigated?