There could be several reasons why you're not seeing the ExchangeOnlineManagement
module when you query for available modules in PowerShell. Here are a few possibilities:
- Module not installed: The
ExchangeOnlineManagement
module might not be installed on your system. You can install it using theInstall-Module -Name ExchangeOnlineManagement
command in PowerShell. - Incorrect PowerShellGet version: If you're getting an error message that says "The specified module 'ExchangeOnlineManagement' with PowerShellGetFormatVersion '<version>' isn't supported by the current version of PowerShellGet", you might need to update your PowerShellGet module.
- Module not imported: Even if the module is installed, it needs to be imported into your PowerShell session before you can use it. You can do this with the
Import-Module ExchangeOnlineManagement
command. - Multi-Factor Authentication (MFA) enabled: If you have recently enabled MFA for your Office 365 account, it could be causing issues with the
ExchangeOnlineManagement
module.