0x800488EE when connecting to Microsoft 365, Azure, or Intune in the Azure AD module for PowerShell

PROBLEM

Assume that Azure Multi-Factor Authentication was disabled for your admin account because you want to use the Azure Active Directory module for Windows PowerShell. (Admins who are enabled for Azure Multi-Factor Authentication can't use the Azure Active Directory module for Windows PowerShell.)

Note

Azure AD and MSOnline PowerShell modules are deprecated as of March 30, 2024. To learn more, read the deprecation update. After this date, support for these modules are limited to migration assistance to Microsoft Graph PowerShell SDK and security fixes. The deprecated modules will continue to function through March, 30 2025.

We recommend migrating to Microsoft Graph PowerShell to interact with Microsoft Entra ID (formerly Azure AD). For common migration questions, refer to the Migration FAQ. Note: Versions 1.0.x of MSOnline may experience disruption after June 30, 2024.

When you open the Azure Active Directory module for Windows PowerShell and then run the Connect-MsolService cmdlet to try to connect to Microsoft 365, Azure, or Microsoft Intune, the cmdlet doesn't run as expected. Instead, you receive the following error message:

Connect-MsolService : Exception of type
'Microsoft.Online.Administration.Automation.MicrosoftOnlineException' was thrown.
At line:1 char:1
+ Connect-MsolService
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [Connect-MsolService], MicrosoftOnlineException
+ FullyQualifiedErrorId : 0x800488EE,Microsoft.Online.Administration.Automation.ConnectMsolService

Note

This article applies only if the hexadecimal error code in the error message is 0x800488EE, as in this example.

SOLUTION

Restart the Online Services Sign-In Assistant service:

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

MORE INFORMATION

Still need help? Go to Microsoft Community or the Microsoft Entra Forumswebsite.