Troubleshooting Exchange Online backup issues

The following errors might occur when backing up Exchange Online mailboxes and configuring related settings. Refer to the troubleshooting guide below to resolve these errors.

The remote server returned an error: (401) Unauthorized

Cause: This error occurs when the certificate used for authentication has not been uploaded to the Microsoft Entra ID portal.

Resolution:

  1. Log in to the Microsoft Entra admin center.
  2. From the left pane, select Entra ID.
  3. Under the Manage section, click App registrations > All applications.
  4. Choose the application configured in RecoveryManager Plus.
  5. Click Certificates & secrets from the left pane.
  6. In the Certificates section, click Upload certificate, then upload the CER file used during the tenant configuration in RecoveryManager Plus.

The request failed with HTTP status 403

Cause: This error occurs when the required API permissions are not granted to the application.

Resolution:

Follow these steps. If the issue persists, contact support@recoverymanagerplus.com.

Microsoft .NET version 4.8 or later must be installed

Cause: This error occurs during Exchange Online tenant configuration when the .NET Framework version in use is below 4.8.

Resolution:

Windows PowerShell 5.1 or later must be installed

Cause: This error occurs during Exchange Online tenant configuration when the PowerShell version in use is below 5.1.

Resolution:

The application client secret has expired

Cause: This issue occurs when the configured application client secret has expired.

Resolution: To resolve the issue, create a new client secret in the Microsoft Entra ID portal and update it in RecoveryManager Plus by following the steps below:

  1. Log in to the Microsoft Entra admin center.
  2. From the left pane, select Entra ID.
  3. Under the Manage section, click App registrations > All applications.
  4. Choose the application configured in RecoveryManager Plus.
  5. Click Certificates & secrets on the left pane.
  6. Select Client secrets and click + New client secret.
  7. Enter the description in the respective field, select the expiration period of the client secret, and click Add.
  8. Copy the client secret from the Value field by clicking the copy icon Copy.
  9. Copying the client secret in Microsoft Entra ID

  10. Log in to RecoveryManager Plus and click Account Configuration in the top-right corner.
  11. Select Microsoft 365 Tenant, click the edit icon Edit next to the relevant tenant, and enter the new client secret.
  12. Updating the client secret in RecoveryManager Plus

If the issue persists, contact support@recoverymanagerplus.com.

Exchange impersonation SOAP header must be present for this type of OAuth token

Cause: This error occurs when the owner of the group mailbox is not present in the organization.

Resolution: To resolve the issue, update the group owner in the Microsoft Entra ID portal by following the steps below:

  1. Log in to the Microsoft Entra ID admin center.
  2. Click Microsoft Entra ID and navigate to Manage > Groups > All groups.
  3. Updating the group owner in Microsoft Entra ID

  4. Select the group to update the group owner.
  5. Click View group owners.
  6. Viewing a group owner in Microsoft Entra ID

  7. Select Add owners and add a valid group owner.
  8. Adding a new group owner in Microsoft Entra ID

Mailbox move in progress. Try again later. Cannot open mailbox

Cause: This error occurs when the mailbox is undergoing migration on Microsoft's end, such as during Exchange Online mailbox migrations or database move operations.

During these migrations, Microsoft may temporarily restrict access to the mailbox through APIs such as Exchange Web Services (EWS) to maintain data consistency and prevent conflicts while the mailbox is being moved between servers or databases.

As a result:

Resolution: Wait for the mailbox migration to complete and then retry the backup operation.

AADSTS50079: Due to a configuration change made by your administrator, or because you moved to a new location, you must enroll in multi-factor authentication to access '00000002-0000-0ff1-ce00-000000000000'

Cause: This error occurs when MFA is enforced for the account.

Resolution: Configure the application to bypass MFA.

The role assigned to this application is not supported in this scenario

Cause: The error occurs when the Microsoft Entra ID application does not have the required roles to perform the requested action.

Resolution

The server cannot service this request right now. Try again later

Cause: This issue occurs due to EWS throttling policies enforced by Microsoft.

It may occur when:

When these limits are reached, the server may temporarily delay or block requests, resulting in this error.

Resolution:

The certificate with the identifier used to sign the client assertion is not registered on the application. [Reason - The key was not found. Thumbprint of key used by client: <client name>]

Cause:

Resolution: To resolve the issue, ensure the certificate is properly registered with the application and that the required permissions are granted by following the steps below:

  1. Log in to the Microsoft Entra admin center.
  2. From the left pane, select Entra ID.
  3. Under the Manage section, click App registrations > All applications.
  4. Choose the application configured in RecoveryManager Plus.
  5. Click API Permissions on the left pane and make sure you Grant admin consent for the required API permissions.
  6. Granting admin consent for the application

  7. Click Certificates & secrets on the left pane.
  8. Select Client secrets and click + New client secret.
  9. Enter the description in the respective field, select the expiration period of the client secret, and click Add.
  10. Copy the client secret from the Value field by clicking the copy icon Copy.
  11. Copying the Microsoft Entra ID client secret

  12. Log in to RecoveryManager Plus and click Account Configuration at the top-right corner.
  13. Select Microsoft 365 Tenant, click the edit icon Edit next to the relevant tenant, and enter the new client secret.
  14. Updating the Microsoft Entra ID client secret in RecoveryManager Plus

  15. If the issue still persists, contact support@recoverymanagerplus.com.

The license is invalid for this mailbox. Mailbox doesn't have a valid license

Cause: The Exchange Online license may be missing or incorrectly assigned to the mailbox, causing the backup or PST export operation to fail.

Resolution:

  1. Reassigning the license
    • Remove the currently assigned license from the mailbox.
    • Assign only the Office 365 E3 license to the user's mailbox.
    • After reassigning, create a new backup or export to PST job and verify if it completes successfully.
  2. Converting the mailbox to a shared mailbox
    • If the operation still fails, convert the user mailbox to a shared mailbox.
    • Ensure the required permissions are properly assigned before starting the operation.
    • Once converted, attempt the operation again.

The remote name could not be resolved: <Domain/Tenant name>

Cause: This error occurs when RecoveryManager Plus cannot communicate with the Exchange Online Server.

Resolution: Make sure the Exchange Online Server and the machine in which RecoveryManager Plus is installed are on the same domain. If they are on different domains, make sure trust has been established between the domains.

The primary SMTP address must be specified when referencing a mailbox

Cause: This error occurs when there is a change in the primary SMTP address of a mailbox.

Resolution:

  1. Navigate to the Exchange tab in RecoveryManager Plus.
  2. Select Microsoft 365 from the Exchange Type drop-down menu, and click Create Backup.
  3. In the Select Mailboxes field, click the add icon add.
  4. In the pop-up that appears, click Refresh Mailboxes.
  5. Once mailbox enumeration is complete, the mailbox will be updated with the new SMTP address.
  6. Retry the backup after the update is completed.

If the issue persists, contact support@recoverymanagerplus.com.

Copyright © 2023, ZOHO Corp. All Rights Reserved.