ADManager Plus simplifies Exchange Online management by providing a centralized platform to perform essential administrative tasks. Administrators can create, modify, or delete mailboxes, configure mailbox features, set permissions, and apply retention policies for mailboxes. They can also manage mailbox visibility, forwarding rules, storage limits, audit settings, and more. These capabilities streamline routine operations, enhance security, and ensure compliance, all from a single interface.
However, users may sometimes encounter failures when performing these actions, such as errors during mailbox creation, modification, or configuration of settings like delegation, retention, or auditing. Such issues can disrupt administrative workflows and delay essential tasks, requiring prompt troubleshooting to restore full functionality.
Missing Exchange Online PowerShell module: The required module is not installed on the ADManager Plus server.
Service account lacks Exchange admin permissions: The account does not have the Exchange administrator permissions to manage Exchange Online.
Service account has Multi-Factor Authentication (MFA) enabled: MFA can block automated connections; an exclusion may be required.
API permissions in App Registration are insufficient: Missing permissions in Entra ID App Registration.
Connectivity issues: The server is unable to establish a connection with Exchange Online.
Firewall restrictions: Network restrictions are blocking access to necessary Microsoft endpoints.
Outdated or incorrect PowerShell version: Using an unsupported version of PowerShell may cause connection failures.
Before proceeding, ensure:
The service account has an Exchange administrator.
PowerShell 5.1 or later is installed on the ADManager Plus server.
An active internet connection is available for connecting to Exchange Online.
Follow these steps to troubleshoot and resolve the issue.
Log in to ADManager Plus as an admin.
Navigate to Directory/Application settings > Microsoft 365.
Verify the configuration page for any password or certificate error.
If the credentials are incorrect or expired, update them and save the changes.
Check for module installation: Open PowerShell as administrator and run:
Get-Module ExchangeOnlineManagement -ListAvailable
Install the module if missing: If the module is not found, install it using:
Install-Module ExchangeOnlineManagement -Force
Confirm installation: Verify the installation by running:
Get-Module ExchangeOnlineManagement -ListAvailable
Restart ADManager Plus: Once verified, restart the ADManager Plus service to apply changes and retry the Exchange Online operation.
Sign in to the Microsoft 365 admin center.
Navigate to Roles > Admin roles.
Ensure the service account has the Exchange administrator role.
If missing, assign the required role and save the changes.
Open PowerShell as an administrator and run:
Connect-ExchangeOnline -UserPrincipalName <serviceaccount@yourdomain.com>
If prompted, enter the credentials.
If the connection fails, verify the firewall rules and service availability.
Refer to the official Microsoft 365 firewall requirements and allow the listed domains.
Set up an Entra ID application with API permissions to bypass MFA issues.
Check the Microsoft 365 service health dashboard for outages before troubleshooting.
Allow necessary Microsoft endpoints in the firewall to prevent connectivity issues.