company logo

Help center

All collectionsCloud DLP ModuleCloud File Security Hoplon Onboarding PrerequisitesHow to connect Microsoft 365 (Office 365) to HOPLONai

How to connect Microsoft 365 (Office 365) to HOPLONai

Below is a detailed, step‐by‐step guide for onboarding Office 365 to the HOPLONai Platform. This guide is designed to help you securely integrate your Office 365 environment with HOPLONai, ensuring seamless cloud onboarding. Whether you're a seasoned administrator or a non-technical user, follow these instructions for a successful setup.

Introduction

This guide explains how to onboard your Office 365 environment to the HOPLONai Platform. By following these steps, you will securely connect your Office 365 account with HOPLONai. Before you begin, please ensure you meet the prerequisites.

Prerequisites

Before starting, confirm you have the following:

  1. Office 365 Global Admin Account:

    • You must be signed in as a Global Admin account in Office 365.

    • Learn more about Super Admin roles here:
      Office 365 Workspace Admin Help – Global Admins

  2. Azure Cloud Account with Project with Required Permissions

    • Ensure your Google Cloud account has the Project Creator role.

    • For more details on creating and managing projects, visit:
      Azure Cloud Resource Manager – Creating Apps

Step 1: Download the Setup File

  • Where to Start:
    After reaching the Cloud Security activation section on your HOPLONai Platform:

    • Select Activate:
      Click Activate button which is adjacent to “Cloud Security” to begin the process.

    • Initiate Activation for Both Platforms:

      • Click on Azure & Office 365 integration.

    • Verify Prerequisites:

      • Ensure that all prerequisites (e.g., your Super Admin status and Google Cloud permissions) are complete. Then, click Continue Activation.

    • Download the Script:

      • Once the activation process continues, click Download Script to save the setup file to your computer.

    • Prepare to Run the Script:
      Open the downloaded script and run it using the provided command. (Be sure to replace the filename in the command if necessary, according to the actual script name you downloaded.)

Step 2: Sign in to Azure

  • Access the Azure Portal:
    Open your web browser and navigate to the Azure Portal.

  • Sign in:
    Use your Azure Global Admin credentials (or appropriate credentials) to log in. This step ensures you have access to your Azure Active Directory for managing app registrations and permissions.

Step 3: Launch Azure Cloud Shell

Access Cloud Shell from the Azure Portal:
Within the Azure Portal, click the Cloud Shell icon (usually located in the top navigation bar).

Azure Shell Environment:
This will launch an interactive shell directly in your Azure portal.

Step 4: Upload the Setup File to Cloud Shell

How to Upload:

  • In the Cloud Shell, click on the Manage files dropdown button on the nav bar of the cloud shell window.

What to Do:

  • Select Upload.

  • Navigate to and choose the script file you downloaded in Step 1.

Step 5: Prepare the File to Run

Make the Script Executable:

  • In the Cloud Shell, type the following command and press Enter:

chmod +x leocybsec-azure-org-key-setup-script.sh

Explanation:

  • This command changes the file's permissions, telling the system that the file is executable. This step is necessary to run the script.

Step 6: Run the Setup File

  • Execute the Script:
    In the Cloud Shell, run the script by typing:

    ./leocybsec-azure-org-key-setup-script.sh 
  • Follow Prompts:
    Follow the on-screen instructions. The script will prompt you to enter your account credentials – simply follow the prompts.

Step 7: Finalize App Registration in Azure

Where to Start:

  • In the Azure Portal, navigate to Azure Active Directory > App Registrations.

What to Do:

  1. Search for the App:

    • In the search bar under "All applications," type leocybsec-scanner.

    • Click on the leocybsec-scanner app from the search results.

  2. Review API Permissions:

    • In the app's overview, click on API Permissions from the left-hand menu.

    • Verify that all required permissions are listed.

  3. Grant Admin Consent:

    • Click the Grant admin consent button.

    • Confirm your action if prompted.

    • A notification should appear in the top-right corner confirming that admin consent was granted.

At this point, your Azure app registration is complete.

Step 8: Upload the Resultant JSON File to HOPLONai

What to Do:

  1. Access the HOPLONai Onboarding Screen:

    • Return to your HOPLONai Platform where the Cloud Onboarding process is in progress.

  2. Upload the JSON File:

    • Click on Upload Results.

    • Navigate to and select the leocybsecScannerKey.json file that was generated by the script.

    • Upload the file.

  3. Complete the Onboarding:

    • Once the file uploads successfully, the onboarding process will complete for both Azure and Office 365.

Step 9: Troubleshooting & Support

  • Need Assistance?

    • If you encounter any issues or have any questions during the onboarding process, please contact the support staff.

    • Provide details about your problem so that support can help you resolve the issue promptly.

Did this answer your question?
😞
😐
😁