Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.oleria.com/llms.txt

Use this file to discover all available pages before exploring further.

Oleria provides identity security and access management teams with visibility and intelligence into who has access to what, where they got that access, how they use it, and if they should even have it. As part of that promise, we integrate applications such as Microsoft Entra ID and M365 SharePoint into the Oleria platform. We provide multiple options for each integration and this document provides step-by-step guidance for integrating Entra ID and M365 SharePoint with your Oleria workspace.

Prerequisites

  • The user granting these permissions must have Global Admin privileges.
Standard integrations are configured with read-only permissions. If you would like to take advantage of Oleria’s access remediation capabilities, which are completely optional, you need to configure additional privileges required for write access.Use a service account (and not an employee account) with the suggested privileges for the integration to ensure continuity.

Integration Approaches

Oleria currently supports three approaches. Follow the one that is most appropriate for your organization.
  1. Authenticate via Microsoft (automated configuration via OAuth)
  2. Client Secret Authentication (manual configuration)
  3. Client Certificate Authentication (manual configuration)

Authenticate via Microsoft (OAuth)

1

Open the integration

Log in to your Oleria workspace and select Integrations.
  • Select Microsoft Entra ID to integrate Entra ID, or
  • Select Microsoft SharePoint and OneDrive to integrate Entra ID, SharePoint, and OneDrive. Select Microsoft SharePoint and OneDrive to integrate Entra ID, SharePoint, and OneDrive.
A side panel opens.Step 2: A side page opens.
2

Choose permission scope

The screen shows an option to enable write permissions to allow Oleria to perform select remediations. The Oleria remediation feature is optional.To enable remediations, select the checkbox. Otherwise, select Authenticate to proceed with the standard read-only permissions scope.Oleria integration screen with optional write permissions checkbox for remediations
3

Select your Microsoft account

Select your Microsoft account and complete authentication.
4

Complete the initial consent form

A consent form appears to grant permissions for the Oleria application to view your basic profile and read access. Complete the consent form by selecting Accept.Microsoft consent form for Oleria application read permissions
5

Complete the application consent form

Microsoft’s application consent form will appear with a list of requested permissions, which varies depending on your selected application and whether you chose to enable optional remediation capabilities. Complete the consent form by selecting Accept.The permissions vary by integration type:
  1. Standard read-only permissions for Entra ID integration (without optional remediations) Microsoft consent form showing standard read-only permissions for Entra ID integration
  2. Standard read-only permissions for SharePoint and OneDrive integration (without optional remediation) Microsoft consent form showing standard read-only permissions for SharePoint and OneDrive
  3. Permissions for Entra ID integration with optional remediation capabilities (includes some write permissions) Microsoft consent form showing Entra ID permissions with optional write access for remediations
  4. Permissions for SharePoint and OneDrive integration with optional remediation capabilities (includes some write permissions) Microsoft consent form showing SharePoint and OneDrive permissions with optional write access
6

Confirm the connection

Find the newly integrated Entra ID and M365 SharePoint instances in your Oleria workspace connected integrations.Oleria workspace Connected Integrations showing Entra ID and M365 SharePoint instances

Client Secret Authentication

1

Create an app registration in Entra ID

Log in to Microsoft Entra ID, navigate to App registrations, and select New registration.Log in to Microsoft Entra ID, navigate to the App registrations, and select New registration.
2

Configure the registration

Give a name to the application (e.g., Oleria) and select Accounts in any organization directory (Any Microsoft Entra ID tenant - Single tenant). Select Register.
If you add any tenants in the future, you must add another App registration for each individual tenant. Alternatively, select Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) to cover all tenants by default.
Entra ID App Registration with single tenant option selected
3

Open API permissions

Open the application and select ManageAPI permissions. Select Add permission.Step 3: Open the application and select Manage → API permissions. Select Add permission
4

Add Microsoft Graph permissions

Select Microsoft Graph and select Application permissions. Add the permissions appropriate for your integration:Step 4: Select Microsoft Graph and select Application permissions. Add permissions
  1. Standard read-only permissions for Entra ID integration (without optional remediations)
API / Permissions nameTypePermission
Microsoft Graph (14)
Agreement.Read.AllApplicationRead all terms of use agreements
Application.Read.AllApplicationRead all applications
AuditLog.Read.AllApplicationRead all audit log data
Directory.Read.AllApplicationRead directory data
EntitlementManagement.Read.AllApplicationRead all entitlement management resources
Group.Read.AllApplicationRead all groups
GroupMember.Read.AllApplicationRead all group memberships
IdentityRiskEvent.Read.AllApplicationRead all identity risk event information
LifecycleWorkflows.Read.AllApplicationRead all lifecycle workflows resources
Policy.read.allApplicationRead your organization’s policies
profileDelegatedView users’ basic profile
RoleManagement.Read.DirectoryApplicationRead all directory RBAC settings
User.ReadDelegatedSign in and read user profile
User.Read.AllApplicationRead all users’ full profiles
  1. Standard read-only permissions for SharePoint and OneDrive integration (without optional remediation)
API / Permissions nameTypePermission
Microsoft Graph (15)
Agreement.Read.AllApplicationRead all terms of use agreements
Application.Read.AllApplicationRead all applications
AuditLog.Read.AllApplicationRead all audit log data
Directory.Read.AllApplicationRead directory data
EntitlementManagement.Read.AllApplicationRead all entitlement management resources
Group.Read.AllApplicationRead all groups
GroupMember.Read.AllApplicationRead all group memberships
IdentityRiskEvent.Read.AllApplicationRead all identity risk event information
LifecycleWorkflows.Read.AllApplicationRead all lifecycle workflows resources
Policy.read.allApplicationRead your organization’s policies
profileDelegatedView users’ basic profile
RoleManagement.Read.DirectoryApplicationRead all directory RBAC settings
Sites.Read.AllApplicationRead items in all site collections
User.ReadDelegatedSign in and read user profile
User.Read.AllApplicationRead all users’ full profiles
Office 365 Management APIs (1)
ActivityFeed.ReadApplicationRead activity data for your organization
SharePoint (2)
Sites.FullControl.AllApplicationHave full control of all site collections
Sites.Read.AllApplicationRead items in all site collections
  1. Permissions for Entra ID integration with optional remediation capabilities (includes some write permissions)
API / Permissions nameTypePermission
Microsoft Graph (15)
Agreement.Read.AllApplicationRead all terms of use agreements
Application.Read.AllApplicationRead all applications
AuditLog.Read.AllApplicationRead all audit log data
Directory.Read.AllApplicationRead directory data
EntitlementManagement.Read.AllApplicationRead all entitlement management resources
Group.Read.AllApplicationRead all groups
GroupMember.Read.AllApplicationRead all group memberships
IdentityRiskEvent.Read.AllApplicationRead all identity risk event information
LifecycleWorkflows.Read.AllApplicationRead all lifecycle workflows resources
Policy.read.allApplicationRead your organization’s policies
profileDelegatedView users’ basic profile
RoleManagement.Read.DirectoryApplicationRead all directory RBAC settings
User.EnableDisableAccount.AllApplicationEnable and disable user accounts
User.ReadDelegatedSign in and read user profile
User.Read.AllApplicationRead all users’ full profiles
  1. Permissions for SharePoint and OneDrive integration with optional remediation capabilities (includes some write permissions)
API / Permissions nameTypePermission
Microsoft Graph (19)
Agreement.Read.AllApplicationRead all terms of use agreements
Application.Read.AllApplicationRead all applications
AuditLog.Read.AllApplicationRead all audit log data
Directory.Read.AllApplicationRead directory data
EntitlementManagement.Read.AllApplicationRead all entitlement management resources
Files.ReadWrite.AllApplicationRead and write files in all site collections
Group.Read.AllApplicationRead all groups
Groups.ReadWrite.AllApplicationRead and write all groups
GroupMember.Read.AllApplicationRead all group memberships
GroupMember.ReadWrite.AllApplicationRead and write all group memberships
IdentityRiskEvent.Read.AllApplicationRead all identity risk event information
LifecycleWorkflows.Read.AllApplicationRead all lifecycle workflows resources
Policy.read.allApplicationRead your organization’s policies
profileDelegatedView users’ basic profile
RoleManagement.Read.DirectoryApplicationRead all directory RBAC settings
Sites.Read.AllApplicationRead items in all site collections
User.EnableDisableAccount.AllApplicationEnable and disable user accounts
User.ReadDelegatedSign in and read user profile
User.Read.AllApplicationRead all users’ full profiles
Office 365 Management APIs (1)
ActivityFeed.ReadApplicationRead activity data for your organization
SharePoint (2)
Sites.FullControl.AllApplicationHave full control of all site collections
Sites.Read.AllApplicationRead items in all site collections
5

Grant admin consent

After adding all application permissions, select Grant admin consent to complete the consent.Microsoft Entra ID API permissions page with Grant admin consent button highlighted
6

Confirm admin consent

Successful completion of admin grant consent should mark granted status green.Step 6: Successful completion of Admin grant consent should mark granted status green.
7

Create a client secret

Navigate to Certificates & Secrets and create a client secret.Step 7: Navigate to Certificates & Secrets, and create a client secret as shown below
8

Copy the client secret value

The generated client secret will be shown. Copy the Client Secret Value.Step 8: The generated client secret will be shown as follows. Copy the Client Secret Value.
9

Capture Client ID and Tenant ID

Capture your Client ID and Directory (tenant) ID.Step 9: Capture your Client ID and Directory tenant ID
10

Open the integration in Oleria

Log in to Oleria workspace → select Integrations → select Microsoft SharePoint and OneDrive.Oleria workspace Integrations page with Microsoft SharePoint and OneDrive selectedA side panel opens.
11

Authenticate with Client Secret

Select the Authentication Method dropdown and select Client Secret Authentication.Provide the Client Secret Value, Tenant ID, and Client ID captured in the previous steps.Provide Client Secret Value captured in step 8, Tenant ID and Client ID captured in step 9.
12

Confirm the connection

Find the newly integrated Entra ID and M365 SharePoint instances in your Oleria workspace connected integrations.Oleria workspace Connected Integrations showing newly added Entra ID and SharePoint instances

Client Certificate Authentication

Client certificate authentication uses a certificate uploaded to your Oleria app registration in Entra ID and a base64-encoded private key stored by Oleria. Use this method when your security policy requires certificate-based service principal authentication instead of a client secret.
This flow reuses the Oleria app registration and API permissions you create in the Client Secret Authentication section. Complete the steps from Create an app registration in Entra ID through Confirm admin consent, then return here. Skip the Create a client secret step.
1

Prepare your certificate files

Place the following files in a single working directory:
  • certificate.pem - the public certificate in PEM format
  • private_key.txt - the matching unencrypted private key in PEM format
  • certificate_chain.txt - the intermediate certificate chain in PEM format
If your organization does not issue these files through an internal PKI, generate a self-signed certificate using the tooling of your choice (for example, AWS Certificate Manager Private CA or New-SelfSignedCertificate on Windows) and export it in the formats above.
The private key must be unencrypted. If private_key.txt is passphrase-protected, decrypt it first with openssl rsa -in private_key.txt -out private_key.txt (or the equivalent for your key type) before continuing.
2

Generate the base64-encoded private key

Oleria expects a single base64 string that decodes to the certificate, chain, and unencrypted private key concatenated as PEM blocks. Run the commands for your operating system from the directory that holds the files prepared in the previous step.
cat certificate.pem certificate_chain.txt private_key.txt > generated_cert.pem
base64 < generated_cert.pem | tr -d '\n' > base64_generate_cert.pem
The contents of base64_generate_cert.pem is the value you will paste into Oleria in the final step.
3

Upload the certificate to Entra ID

Sign in to your Entra ID tenant and navigate to Microsoft Entra ID -> Manage -> App registrations. Open your Oleria app registration.
If the app is not visible under Owned applications, switch to All applications and search for it by name.
Select Manage -> Certificates & secrets -> Certificates and upload certificate.pem.Entra ID app registration Certificates and secrets page with Upload certificate button and an uploaded certificate listed
4

Open the integration in Oleria

Log in to your Oleria workspace and navigate to Workspace -> Integrations.
  • For a new integration, select Microsoft Entra ID or Microsoft SharePoint and OneDrive to open the side panel.
  • To migrate an existing integration from client secret to client certificate, select Connected, then select the edit icon on your Entra ID integration to open the side panel.
5

Authenticate with the client certificate

From the Authentication Method dropdown, select Client Certificate Authentication.Provide the following:
FieldNotes
Tenant IDYour Directory (tenant) ID from the app registration overview.
Client IDYour Application (client) ID from the app registration overview.
Private KeyThe contents of base64_generate_cert.pem from the previous step.
Select Update to save the integration.Oleria Workspace Integrations Connected view with the Update Microsoft Entra ID side panel showing Client Certificate Authentication selected and Tenant Id, Client Id, and Private Key fields
6

Clean up generated files

generated_cert.pem and base64_generate_cert.pem both contain the unencrypted private key inline. Delete them from the working directory now that the integration is connected. Your original certificate.pem, certificate_chain.txt, and private_key.txt files are unchanged and can stay in your existing key store.
shred -u generated_cert.pem base64_generate_cert.pem 2>/dev/null || \
  rm -P generated_cert.pem base64_generate_cert.pem
If your shell records command history, clear it to remove references to the key file paths: history -c on Bash or Zsh, Clear-History on PowerShell.

How Oleria handles the private key

The Private Key field in the integration form is masked to prevent shoulder-surfing during entry. The value is transmitted to Oleria over TLS and persisted in AWS Secrets Manager, which provides encryption at rest with KMS-managed keys and audit logging on every access. Access to the secret is scoped to the Oleria service that authenticates to Entra ID; no human operator and no other Oleria service can read it. Oleria does not write the private key to application logs, databases, or temporary files. It is read from AWS Secrets Manager into process memory only when authenticating to Entra ID, and is held in memory only for the duration of that authentication.

Check the Oleria App in Your Entra ID Instance

1

Find the Oleria app in Enterprise applications

Log in to your Entra ID instance, navigate to Enterprise applications → select All applications.You will find the Oleria application in the Enterprise applications list.You will find the Oleria application in the Enterprise applications.
2

View assigned roles

Select the Oleria application and navigate to Roles and administrators.You will find 2 roles:
  1. Cloud Application Administrator
  2. Report Reader Report Reader
3

View granted permissions

Select Permissions to view the read permissions granted to the Oleria application.Select permissions to view the read permissions granted to the Oleria application

Contact us

For questions about this integration, contact us at support@oleria.com.