*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build: PowerShell Studio 2022
Operating system: Windows 10,11
PowerShell version(s): 7.2.3
*** Please add details and screenshots as needed below. ***
DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
Greetings all,
I have reviewed several posts regarding this topic. I'm posting because some of the replies appear contradictory (at least to me

My question is fairly straightforward. With the latest version of the ExchangeOnlineManagement module (version 2.0.5), can you display a form (GUI) first and then connect to ExchangeOnline (using the Connect-ExchangeOnline cmdlet)?
I have tried this and it hangs after the banner is displayed. As mentioned in other posts, this scenario described above used to work in WindowsPowerShell 5.1 with the ExchangeOnlineManagement version 2.0.3. It doesn't seem to work with any version above that. Some posts have suggested this does work with PowerShell 7.
Any guidance or clarification will be greatly appreciated.