connect-exchangeonline -userprincipalname doesn't bring up MFA browser when executed from Powershell studio GUI.
Have already imported exchangeonlinemanagement module 2.0.5
*** 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: Sapien Powershell Studio 2021,5.8.183.0
Operating system:Windows 10
PowerShell version(s):5.1.19041.1682
*** Please add details and screenshots as needed below. ***
DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
connect-exchangeonline -userprincipalname doesn't bring up MFA browser
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: connect-exchangeonline -userprincipalname doesn't bring up MFA browser
This is a problem with PowerShell v5.1 and the ExchangeOnlineManagement module being version 2.0.4 or later. There is a little we can do to help with this as these are both Microsoft.
The only known fixes are to downgrade ExchangeOnlineManagement or upgrade to use PowerShell 7.
Reporting and getting support from the Microsoft team is the best option. You can get support from here:
https://docs.microsoft.com/en-us/answers/products/
With earlier versions (2.03 or earlier) of the ExchangeOnlineManagement module, connecting works when the connection is made before the creation of the form.
You may find the following helpful:
viewtopic.php?p=82682&hilit=Connect+Exc ... ine#p82682
viewtopic.php?t=15297
The only known fixes are to downgrade ExchangeOnlineManagement or upgrade to use PowerShell 7.
Reporting and getting support from the Microsoft team is the best option. You can get support from here:
https://docs.microsoft.com/en-us/answers/products/
With earlier versions (2.03 or earlier) of the ExchangeOnlineManagement module, connecting works when the connection is made before the creation of the form.
You may find the following helpful:
viewtopic.php?p=82682&hilit=Connect+Exc ... ine#p82682
viewtopic.php?t=15297
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.