Connect-MsolService : Exception of type 'Microsoft.Online.Administration.Automation.MicrosoftOnlineException' was thrown | 0x800488EE

ad+1

You are trying to use Windows PowerShell to connect to the Microsoft Online Services like Microsoft 365, Azure, or Microsoft Intune. You've downloaded and installed the required Module using the relevant Install-Module cmdlet, and are just ready to connect to the service via PowerShell. 

But you find yourself with this unfamiliar, weird  looking Error! 😣

Connect-MsolService : Exception of type
'Microsoft.Online.Administration.Automation.MicrosoftOnlineException' was thrown.

At line:1 char:1
+ Connect-MsolService
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [Connect-MsolService], Mic
rosoftOnlineException
+ FullyQualifiedErrorId : 0x800488EE,Microsoft.Online.Administration.Automation.ConnectMsolService


You try to resolve the error by usual troubleshooting practices like below yet the server does not connect correctly. 😠

  • Reboot the server
  • Upgrade to the latest version for PowerShell
  • Re-install PowerShell module
  • Check a machine supports TLS 1.2

What else to to? I troubleshooted this myself successfully spending 45+ minutes myself quite recently when helping someone configure MFA for VPN Clients using NPS Server Extension. I found out this error 0x800488EE is indeed connected to the Sign-in-Assistant service. Yes, its been more than a decade since Microsoft launched this tiny little tool which used to be a 'must have' even for client machines to connect using Outlook and Lync (yes, this old). 

You need to Uninstall and Re-install Microsoft Online Services Sign-In Assistant for IT Professionals RTW from below links. It comes in two variants, if the regular one does not work, you can install the beta version 

Now, the connection works fine!  😊

If the PowerShell still does not connect, try to Restart the Online Services Sign-In Assistant service. To do this, follow these steps:

  • Open Control Panel, click Administrative Tools, and then click Services.
  • In the list of services, right-click Microsoft Online Services Sign-In Assistant, and then click Restart.


0 comments:

I welcome you to write your comments here..