Onboard an M365 Account

Pre-requisite:

Keep below information handy,

Note: Follow below steps to get Cloudneeti Account Id and License Id:

  1. To Get Cloudneeti Account Id:

    • Login to Cloudneeti dashboard (For example: <"Cloudneeti Environment">.cloudneeti.com)
    • Click on Settings option from left side pane and go to Manage Accounts
    • And copy Account Id image.png
  2. To Get Cloudneeti License Id:
    • Login to Cloudneeti dashboard (For example: <"Cloudneeti Environment">.cloudneeti.com)
    • Click on Settings option from left side pane and go to Manage Licenses
    • And copy License Id with respect to account Id image.png

      Get Below information from Cloudneeti Team,

    • M365 data collector provisioning script
    • M365 data collector artifacts storage name
    • M365 data collector artifacts storage access key

M365 data collector provisioning

  1. Login to Azure portal: https://portal.azure.com
  2. Switch to Azure active directory where you have a subscription with pre-requisite access.
  3. Open CloudShell, Click on Cloudshell icon on the navigation bar to open Cloudshell and Choose PowerShell from shell drop down

    Bash in Cloud Shell
  4. Run below commands on CloudShell:
    4.1. # Download Provisioning script
    wget https://raw.githubusercontent.com/Cloudneeti/docs_cloudneeti/master/scripts/Provision-M365DataCollector.ps1 -O Provision-M365DataCollector.ps1

    4.2. Switch to the User directory

    cd $User

    4.3. Run provisioning script with inline parameters


    ./Provision-M365DataCollector.ps1 -CloudneetiLicenseId <Cloudneeti License Id> `
                                    -CloudneetiAccountId <Cloudneeti Account Id> `
                                    -CloudneetiEnvironment <Cloudneeti Environment> `
                                    -ServicePrincipalId <Cloudneeti Data Collector Service Principal Id> `
                                    -ArtifactsName <Cloudneeti office 365 Data Collector Artifact Name> `
                                    -DataCollectorVersion <Cloudneeti Office 365 Data Collector Version> `
                                    -OfficeDomain <Office 365 Domain Name> `
                                    -OfficeTenantId <Office 365 Tenant Id> `
                                    -OfficeAdminId <Office 365 Administator Id> `
                                    -AzureSubscriptionId <Azure Subscription Id where office 365 data collector resouces will be created> `
                                    -DataCollectorName <Office 365 Data Collector Name> `
                                    -Location <Default EastUs2> <Region> 

    4.4 Then script execution will prompt you for below details:** (Enter requested information)

    • Enter Cloudneeti API Key:
    • Enter Cloudneeti Data Collector Service Principal Secret:
    • Enter Cloudneeti office 365 Data Collector Artifacts Storage Access Key:
    • Enter Office 365 App Password:

Post On-boarding Steps:

Apply lock to prevent accidental deletion on Onboarding Resource Group

  1. Go to m365 data collector resource group
  2. Click on Locks under settings
  3. Press Add button to create resource lock
  4. Enter Lock Name and select Lock Type as Delete
  5. Press OK to save the lock

    image.png

Modify the automation account schedule

Set the automation account schedule before the Cloudneeti data collection schedule using the below steps,

  1. Go to M365 data collector resource group
  2. Select Automation account
  3. Click on Schedules under Shared Resources
  4. Select Schedule image.png

  5. Modify the schedule timings and press Save button image.png

Upgrading M365 Data Collector

To upgrade th M365 Data Collector follow the instructions provided in the link.