Onboard Microsoft 365 using the Microsoft API

Onboard Microsoft 365 using the Microsoft API

How to onboard Microsoft 365 using the Microsoft API

This onboarding procedure for a Microsoft 365 API integration includes:
  • Specifying the connection method.
  • Enabling the Perception Point app - that enables the required access to your Microsoft 365 account.
  • Specifying who to protect [the plan].
  • Initiating the connection process.

To onboard Microsoft 365 using the Microsoft API:

  1. On the right of the "Advanced Email Security" banner, click the Add Services 
      
  1. Click Add A New Email Service - if this option appears.
  2. Select the Organization - if necessary.
  3. Specify the Escalation contacts
  4. In Email Service, select Microsoft 365.
  5. In Connection Method, select Microsoft API.
    1. Inbound will be automatically selected. This configures "Advanced Email Security" to scan emails that are received from outside the organization.
    2. Outbound: [Optional] This configures "Advanced Email Security" to scan emails that are sent from inside the organization. This option appears only if outbound scanning is enabled. 
  6. Click ENABLE M365 APP - in the bottom right corner. [This is the remediation app.]
    Important: If the ENABLE M365 APP button is not enabled, make sure that you have specified an escalation contact above.
    1. A pop-up window will open - allowing you to sign-in to your Microsoft account.

    2. Note: If the pop-up does not appear, make sure that pop-ups are not blocked on your computer.
    3. Sign-in to your Microsoft account as a global admin.
      You will see a list of the permissions that are required by the "Advanced Email Security" app.

    4. Click Accept.
      The next step in the onboarding wizard appears.
                  
  1. Specifying who to protect [Microsoft 365 - API]
    [This is also known as the plan.]
    1. Protect the organization's entire Microsoft 365 account: Protects all email addresses in all the domains that are included in your organization's Microsoft 365 account.
      Note: Domains and email addresses that are added in the future to the organization's Microsoft 365 account will be protected.
    2. Protect the following entities only: Allows you to specify which domains, groups, and users [email addresses] to protect.

    3. Note:
      • After onboarding the Microsoft 365 - API integration, you can't change the set of users that are protected by "Advanced Email Security".
        Suggested workaround: To change the set of users that are protected, first off-board the API integration, and then on-board it again, with the required protection configuration.
      • You can specify a maximum of 300 assets [domains, groups, and users].
      • Specific domains: Protects only the domains that you specify. All users inside the specified domains will be protected.
        Note: Email addresses that are added in the future to any of the specified domains will also be protected.
      • Specific groups and users: Protects only the groups and users that you specify.
        Note:
        • Email addresses that you specify must be included in your Microsoft 365 account.
        • Groups must be email groups.
        • Email addresses that are added in the future to any of the specified groups will also be protected.
      • Specific domains, groups and users: Protects all the domains, groups, and users that you specify.
        Note:
        • Email addresses that you specify must be included in your Microsoft 365 account.
        • Groups must be email groups.
        • Email addresses that are added in the future to any of the specified groups will also be protected.
        Note about future changes:
        • Domains that are added to your Microsoft 365 account in the future will not be protected.
        • Email addresses that are added to any of the specified domains or groups in the future will also be protected.
        • Email addresses that are added to your Microsoft 365 account [outside of the specified domains and groups] in the future will not be protected.
      Note: After you have specified a set of entities to protect, and completed the onboarding process, if you want to modify the set, contact Perception Point Support [support@perception-point.io].
  2. [This step may not appear] Select to where spam emails will be moved - to the user's Inbox or the Junk folder - if spam emails are not configured to be quarantined.
    • Inbox: The email is sent to the user's Inbox. This setting is typically used for PoC installations - not for production installations.
    • Junk: The email is sent to the user's Junk folder. This setting is typically used in production installations - not in PoC installations.
      This setting can be changed after on-boarding. For details, see Configuring spam remediation below.
  3. Click Next. A summary of your selected configurations will be displayed.
      
  1. Review the configurations, and then click Done. This will begin the connection process to protect the users that you specified above. This connection process may take a while to complete.

     

  1. Click the blue Microsoft 365 link [see graphic above] to open the Account > Channels page - where you can monitor the API connection status.

      

  1. Connection start time:

    The time that the connection process was started.

    Completion time:

    The time that the connection process was completed.

    Total no. of users in plan:

    The number of users included in the plan. This is the maximum number of users that will be protected when the connection process is complete. This excludes invalid users in the plan.

    Protected users:

    The number of users that are already protected by "Advanced Email Security".

    Non-supported users (on-prem):

    The number of Microsoft Exchange users that are included in the plan that you specified. These users will not be protected by "Advanced Email Security". You can export a .csv file that contains a list of these users.

    This value is applicable in "Microsoft 365 - Exchange" hybrid environments.

    Currently non-operative users:

    The number of users that are included in the plan that you specified, but for whom "Advanced Email Security" was not able to add protection during the connection process. You can export a .csv file that contains a list of these users.

      This information will be displayed for 30 days after the connection process is completed. When the In Progress indicator changes to Completed, the users included in the plan will be protected.
  1. If you want to configure this Microsoft 365 integration to operate in monitoring mode, continue with Monitoring Mode below.

Monitoring Mode

Important [for integrations in monitoring mode only]
Note: In monitoring mode [also known as passive mode], "Advanced Email Security" will not quarantine any malicious emails or route spam to junk boxes.
To complete the API integration in monitoring mode, perform these steps:
  1. Open the Account > Channels page.
  2. On the right, click Default Channel Settings.
  3. Click Edit 
  4. Under Detection, clear the MaliciousRestricted, and Spam check boxes.

Note: "Advanced Email Security" will not quarantine any malicious emails or route spam to junk boxes.
  1. Click Save.
  2. Contact Perception Point Support [support@perception-point.io] - and inform them that you have onboarded a Microsoft 365 API integration. Perception Point Support will complete the configuration.

Configuring spam remediation

Configuring a Microsoft 365 API integration includes specifying what happens to emails that are assigned a spam verdict [if spam emails are not configured to be quarantined]. The options are:
  • Inbox: The email is sent to the user's Inbox. This setting is typically used for PoC installations - not for production installations.
  • Junk: The email is sent to the user's Junk folder. This setting is typically used in production installations - not in PoC installations.
With the Microsoft 365 API integration, "Advanced Email Security" may move an email from the Inbox to the Junk folder after the email has initially arrived in the Inbox. The procedure is therefore referred to as "spam remediation".
When a Microsoft 365 API inbound integration is initially configured, the spam remediation is set to Junk.
Note: The "spam remediation" functionality will apply only if:
  • You don't have any contradicting rules in your Microsoft email account. For details, contact Perception Point Support [support@perception-point.io].
  • Spam emails are not configured to be quarantined. 
The spam remediation controls appear only if a Microsoft 365 API inbound integration is configured.

To change the spam remediation location:

  1. Open the Account > Channels page.
  2. On the right of Email Service > Microsoft 365, click Channel Settings. The "Email Service Settings" sidebar opens.
  3. Click Edit 
  4. Under Microsoft Account Settings, select Junk or Inbox.
      



    • Related Articles

    • Generating a Trend Micro Vision One API key for Elastic Integration

      In order to collect data from Trend Micro Vision One, Elastic requires an API Token. To create an API Token follow the below steps: 1. Log on to the Trend Micro Vision One console. 2. Go to Administration -> User Accounts. 3. Click on the account ...
    • Deploying EDR Agent using Group Policy in Windows Server 2012 r2

      Windows Server 2012 R2 includes a feature called Software Installation and Maintenance that AD DS, Group Policy, and the Windows Installer service use to install, maintain, and remove the software from your organization’s computers. Setting up a ...
    • AlienApp for Office 365

      Access Requirements This integration requires connectivity between your USM Anywhere Sensor and the Microsoft APIs. If you have an Azure Sensor deployed in your Azure subscription, you should use this sensor to configure the AlienApp because you ...
    • AlienVault Agent Installation on Windows Hosts

      To install the AlienVault Agent on Microsoft Windows, you must run a script that you access from your USM Anywhere environment. When you run the installation script on the Windows host system, the script downloads an .msi file directly from USM ...
    • Azure Sensor Deployment

      Requirements for Azure Sensor Deployment To ensure that you can successfully deploy USM Anywhere in your Microsoft Azure subscription and monitor all of your Azure resources, make sure you have the following available in your Azure environment: An ...