Hi, we are currently trying to automate things a little.
Connection with thumbprint works well. We will probably run scripts using this method a lot. That means it will establish many connections to the app, and I couldn't find a way to...
a) close a specific connection (only via "Disconnect-ExchangeOnline -Confirm:$false") which will cause...
Removed the PSSession ExchangeOnlineInternalSession_1 connected to outlook.office365.com
Removed the PSSession ExchangeOnlineInternalSession_2 connected to outlook.office365.com
Removed the PSSession ExchangeOnlineInternalSession_3 connected to outlook.office365.com
Removed the PSSession ExchangeOnlineInternalSession_4 connected to outlook.office365.com
b) or connect to an existing connection / session
What is a good way to "pool" the connection to the app if a user runs several scripts that make changes or download info from EXO at the same time?
Thanks!