question

Peter-7993 avatar image
0 Votes"
Peter-7993 asked KyleXu-MSFT edited

PowerShell > Forms > Connect-ExchangeOnline fails at first try

Consider this https://docs.microsoft.com/en-us/powershell/scripting/samples/selecting-items-from-a-list-box?view=powershell-5.1


Now after $x add Connect-ExchangeOnline

In a fresh PowerShell window the script fails at the connect with “Not in a single cabinet”. Calling it again consequently in the same session works. This only happens in EXO module > 2.0.3 but works fine in 2.0.3 and earlier. Calling Connect-ExchangeOnline before the form is not an option. I opened a ticket at Microsoft but they are dragging their feet. As I am asking here, it’s clear I’m out of ideas. Basic authentication works, but is not a future proof option.

Any ideas would be appreciated.

windows-server-powershelloffice-exchange-server-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers