Hi Nino_Bilic
Even though we use Disconnect-ExchangeOnline whenever we open a connection using Connect-ExchangeOnline, sometimes we see some folders(tmpEXO*) are not getting deleted in C:\Windows\Temp. Some folders contain an internal folder en-us which is mostly empty.
But some en-us folders contain xml help files like : Microsoft.Exchange.Management-Help, Microsoft.Exchange.RemoteConnections-Help, Microsoft.Exchange.TransportMailflow-Help etc. This is a problem for us as our application is a multithreaded daemon continuously opening connections with exchangeonline and closing them which is leading to high disk space usage and impacting our customer.
Note: Earlier when we were not using Disconnect-ExchangeOnline, we were still seeing those temp folders(a lot more actually) and those folders contain some powershell scripts apart from the help files. So it looks like sometimes clean up is not happening as expected and help files are not getting deleted.
Request your help as deadline for v2 deprecation is approaching. I would be happy to provide any additional information you need. I have already posted the issue in https://techcommunity.microsoft.com/t5/exchange-team-blog/announcing-deprecation-of-remote-powershell-rps-protocol-in/ba-p/3695597/page/2#comments without much help. We also created a premier support ticket TrackingID#2305310040006017 but that did not get much traction either.
Thanks in advance