4.5 Installing Microsoft 365

Introduction

Welcome to the section on installing Microsoft 365 with Trustle. This section will showcase how to setup your 365 environment and create an application to connect with Trustle. Let's get started!

Your M365 Environment

You will need to set up your M365 environment before creating an application. If you don't have an account yet, you can create a 30 day free trial account on the Microsoft 365 Admin website.

Some Trustle features will not be available unless the M365 user installing the Trustle connector possesses one of the following Licenses:

  • Azure Active Directory Premium P1
  • Microsoft Entra ID P2
  • Microsoft 365 E3
  • Microsoft 365 E5

The License will need to be assigned to your M365 User who is connected to your Trustle Owner. See our Introduction Tutorial for more help on linking M365 Users with Trustle Accounts.

You can find these Licenses on the Marketplace of the M365 Admin Center.

Open PowerShell

Now that you have your M365 environment set up, we can begin the process to create an application. Click the Terminal button in the top right to open the PowerShell Terminal. Ensure that the language is on PowerShell and not Bash.

Trustle's Install Code

Trustle makes it as simple as possible to create your application. Type in the following code into the PowerShell Terminal to access Trustle's install code.

Note: Pasting code in PowerShell uses Shift + Insert.

Type in the following:

This will run our install script.

Log In

You’ll see a request for Logins. It will prompt you to copy the code provided and paste it into the browser. It will have you do this 2 times.

Click through the browser page to arrive at this screen, where Microsoft tells you you’re logged in. You’ll do this 2 separate times for each login.

Create the Application

Now that you are logged in, it will prompt you to select '2' for M365 and name your application.

Press enter to run the script and it will create your application with proper permissions!

You will also receive the 3 lines you need for the Trustle connection.

Paste these 3 lines into associated sections on the Trustle Dashboard and click Authenticate.

You're done! We're excited to help you explore M365 with Trustle Security.