This article provides prerequisites and onboarding steps for Microsoft 365 Direct.
Step 1: Enable Microsoft 365 audit logging
Audit logging is required for Expel to provide detection and investigative value for Microsoft 365. The Microsoft 365 audit log records user and admin activity and holds the data for 90 days. Audit logging could already be running on your Microsoft 365 installation. So, the first thing to do is verify.
Verify Microsoft 365 audit logging status
Use the Verify the auditing status for your organization instructions from Microsoft 365 support.
-
If audit logging is ON, skip to Step 2: Enable 0365 Enterprise Application.
-
If audit logging is OFF, follow the Enable Microsoft 365 audit logging instructions.
Enable Microsoft 365 audit logging
You can use either the Microsoft 365 Security and Compliance Center or the Exchange Online PowerShell to activate audit logging.
Note
If you prefer PowerShell, skip to Option 2.
Option 1: Enable audit logging in Microsoft 365 Security and Compliance Center in 5 steps
-
Log to the Microsoft 365 Admin Portal with a global admin user or at minimum, a user with the Organization Management or Compliance Management roles.
-
Navigate to the Security & Compliance Center.
-
Navigate to Search & investigation > Audit log search.
-
Click Start recording user and admin activities.
-
That’s it! Microsoft 365 makes some changes behind the scenes and begins recording activity in the audit log.
Note
This change can take about 24 hours to complete.
Option 2: Enable audit logging in Microsoft 365 with PowerShell in 3 steps
-
Run the following PowerShell command to turn on audit log search in Microsoft 365.
-
That’s it! A message appears saying it can take up to 60 minutes for the change to take effect.
Tip
Microsoft: Turn Microsoft 365 audit log search on or off.
Step 2: Enable Microsoft 365 Enterprise Application
To integrate Microsoft 365 Direct with Expel, we need to create secure credentials to the API. We provide 2 options for enabling API access:
Usually enabling the Enterprise Application (option 1) is the recommended approach. The second option is offered for cases where the absolute minimum permissions are required. In either case, the table below shows the required items to obtain during this step:
Item we need |
Description |
Azure Directory (tenant) ID |
A unique identifier for your Azure instance. Expel needs this information to route our API requests to the right place. |
Application (client) ID (Option 2 only) |
A unique identifier for the application you create that grants Expel the access it needs to your Microsoft 365 instance. |
Application (client) Secret (Option 2 only) |
The API secret that allows Expel to authenticate as the created application to your Microsoft 365 instance. |
Option 1: Enable Microsoft 365 integration (preferred)
-
As an Administrator, navigate to the Expel Admin Consent Page.
-
Review and accept requested permissions.
-
The Expel Microsoft 365 Integration app now appears under Enterprise Applications. Review properties and make sure that all permissions were properly granted. Note the Directory (Tenant) ID when viewing the Expel Microsoft 365 Integration application for use in later steps.
-
Skip to step 3.
Option 2: Create Custom Azure AD Application
-
Log into your Azure Active Directory account (https://portal.azure.com) and open Azure Active Directory.
-
Navigate to App registrations and create a new app by clicking + New registration.
-
Fill in the application details. You can technically fill these in however you want, but we recommend the following:
-
Name: Expel Cloud Service.
-
Supported account types: Accounts in this organizational directory only (first option).
-
-
After you fill out the fields, click Register to create the new application.
-
You navigate automatically to the settings page for the Expel Cloud Service app you just created. If not, navigate to Azure Active Directory > App Registrations > View all applications (if you don’t see the new app) > Expel Cloud Service.
-
Make a note of the Application (client) ID and the Directory (tenant) ID. We need that later.
-
Navigate to API permissions and click Add a permission.
-
Add these permissions for the Expel App.
-
Microsoft Graph API
-
AuditLog.Read.All
-
Directory.Read.All
-
Group.Read.All
-
IdentityRiskEvent.Read.All
-
SecurityEvents.Read.All
-
User.Read.All
-
-
Microsoft 365 Management APIs
-
ActivityFeed.Read
-
ActivityFeed.ReadDIp
-
ServiceHealth.Read
-
-
-
Select the appropriate API Category (for example, Microsoft Graph).
-
Select Application Permissions.
-
Select the appropriate permission(s) and click Add Permissions.
-
Repeat these steps for each permission needed. Verify that:
-
All permissions are added as Application permissions and NOT Delegated permissions.
-
All Permissions are assigned.
-
Consent is granted for the permissions by the AAD admin.
-
-
After permissions are assigned, click Grant admin consent, and Yes at the prompt.
-
Navigate to Expel Cloud Service > Certificates & secrets to begin creating an API key (aka client secret). To create a new key, click +New client secret.
-
Add a description for the secret (like Expel API) and select Never for expiration. Click Add to create the secret.
-
You see a new client secret (API Key) appear under Client secrets.
Important
Copy the value and save it for later. It disappears after you navigate away from this screen.
Step 3: Configure Microsoft 365 Direct in Expel Workbench
Note
Expel secures all login information our SOC analysts need about your devices in a MFA password product. Access to this login information is protected using our internal MFA processes. To learn more about the IP addresses all Expel traffic comes from, go here.
-
In a new browser tab, log into https://workbench.expel.io/settings/security-devices?setupIntegration=office365. The Add Security Device page for Microsoft 365 (direct) appears.
-
Use this table to complete the fields.
Step 4: Configure Azure AD Identity Protection in Expel Workbench (Premium P2 license required)
-
In a new browser tab, login to https://workbench.expel.io/settings/security-devices?setupIntegration=azure_identity_protection. The Add Security Device page for Azure AD Identity Protection appears.
-
Refer to the table in the previous step to complete the fields.
Tip
This article was accurate at the time of writing, but changes happen. If you find the instructions are outdated, leave a description in the comment field below and let us know!
O 365, O365, Office365, ms 365, microsoft 365
Comments
0 comments
Please sign in to leave a comment.