Overview
This document provides a detailed overview of the integration between Legora and SharePoint, including key features, deployment timeline, security measures, and customer requirements.
Key Features
File and Folder Selection
The integration includes a file and folder picker, enabling users to upload documents from SharePoint into Legora
Helps users navigate their document structure in SharePoint and select the desired files and folders.
Continuous Syncing (Coming soon)
Legora will soon offer continuous syncing to ensure documents in Legora are always updated with the latest versions from SharePoint.
Reduces manual updates and improves accuracy.
Secure Authentication and Connectivity
Legora employs SharePoint’s native authentication system for secure user validation.
No user credentials are passed through Legora; instead, an access token is used to fetch and parse documents from SharePoint.
Compatibility
Compatible with both on-premises and cloud-based Share:Point deployments:
On-Premises Deployments: Requires a secure endpoint for Legora to access SharePoint.
Cloud Deployments: Pre-established connection for a seamless integration experience.
Deployment Timeline
The integration can be deployed within 7 days from when all the details have been sent over to the Legora team.
Setup Instructions
This guide will walk you through the process of setting up an Azure Active Directory (AAD) App Registration and configuring the necessary details to allow your users to upload files and folders directly to SharePoint via our application.
Step 1: Create an Azure Active Directory App Registration
To enable our web application to interact with SharePoint on your behalf, you will need to create an AAD App Registration. This process grants the necessary permissions for the app to access your SharePoint environment.
Under authentication, create a new Single-page application registry.
Note: If the platform type is anything else the integration will fail
Set the redirect uri to:
EU: https://app.eu.legora.com
US: https://app.us.legora.com
AP: https://app.ap.legora.comEnsure both Access tokens and ID tokens are checked
Under API permissions:
For Microsoft Graph (delegated permissions):
Files.Read.All
Sites.Read.All
User.Read
For SharePoint (delegated permissions):
AllSites.Read
MyFiles.Read
Step 2: Send over following details to Legora
Directory (tenant) ID
Application (client) ID
Base URL (SharePoint site)
Example: "https://tenant.sharepoint.com".
Do not use: "https://tenant-my.sharepoint.com" or "https://tenant-admin.sharepoint.com"
FAQ
Why is my authentication successful, but nothing renders in the popup?
Example:
This is often caused by a misconfiguration on the client side, ask the customer to double check the app registration, especially, that it is registered as a Single Page Application.



