This change would enable for Disconnect-SsoAdminServer to behave similar to other disconnect cmdlets.
When connected to one SSO server , Disconnect-SsoAdminServer would disconnect user immediately, without asking from which server one wishes to disconnect.
When connected to more than one SSO server, Disconnect-SsoAdminServer would throw ever that a Server parameter has to be used since it is not possible to choose for the user from which server one wants to disconnect.
When not connected to a SSO server, Disconnect-SsoAdminServer would throw an error stating that there are no active connections established.
Tests were added for this change inside ConnectDisconnect.Tests.ps1 tests.
This change would enable for Disconnect-SsoAdminServer to behave similar to other disconnect cmdlets. When connected to one SSO server , Disconnect-SsoAdminServer would disconnect user immediately, without asking from which server one wishes to disconnect. When connected to more than one SSO server, Disconnect-SsoAdminServer would throw ever that a Server parameter has to be used since it is not possible to choose for the user from which server one wants to disconnect. When not connected to a SSO server, Disconnect-SsoAdminServer would throw an error stating that there are no active connections established. Tests were added for this change inside ConnectDisconnect.Tests.ps1 tests.