Off-boarding Microsoft 365 [Inline] - using a script

About off-boarding a Microsoft 365 [inline] integration - using a script

This page describes how to use a PowerShell script to off-board [offboard] a Microsoft 365 integration with "Acronis Email Security". The required script is maintained and provided by Fortinet. You are not required to make any changes to the script. When the script runs, it will:

  • Remove the Fortinet IP addresses from the allowlist

  • Delete the redirect rules and spam rules

  • Delete the connectors

See the available video.

Procedure: Off-boarding a Microsoft 365 [inline] integration - using a script

To use a script to off-board a Microsoft 365 [Inline] integration with "Acronis Email Security":

  1. Click here to download and then run the following PowerShell script: Offboarding.ps1

    Note: While the script runs, you'll be required to provide some input, such as:

    • Your Exchange admin user email for Microsoft 365

    • The recipient domain [for example, yourdomain.com]

    • The locale [environment] of your organization

  2. Disable the remediation app

    This step disables the "Acronis Email Security" remediation app. For details on the remediation app, see Remediation App.

    1. In "Acronis Email Security" - in the left navigation menu, select Settings > Bundles and Channels.

    2. Under Enabled Channels, locate Email Service > Microsoft 365, and then click Deactivate on the right.

      Important: When you click Deactivate, ALL verified inline domains will be deleted. Thereafter, emails will be rejected.

Deactivating "Acronis Email Security" for an organization [Optional]

Important: Perform this step only if you want to deactivate "Acronis Email Security" for your organization.

To deactivate Advanced Email Security, you may need to wait up to 24 hours after deactivating the integration. See Step 3 below.

  1. Go to Acronis Cyber Protect Cloud > Protection.

  2. Select the organization, click the 3-dots [], and click Configure.

  3. Click the Configure tab, and then scroll down to the Email and Collaboration Security section.

    Note: In certain scenarios, the Email and Collaboration Security check box may be grayed-out [not available] for up to 24 hours after the integration is deactivated.