If you’re new to Unstructured, read this note first.
Before you can create a source connector, you must first sign in to your Unstructured account:
After you sign in, the Unstructured user interface (UI) appears, which you use to get your Unstructured API key. To learn how, watch this 40-second how-to video.
After you create the source connector, add it along with a destination connector to a workflow. Then run the worklow as a job. To learn how, try out the hands-on Workflow Endpoint quickstart, go directly to the quickstart notebook, or watch the two 4-minute video tutorials for the Unstructured Python SDK.
You can also create source connectors with the Unstructured user interface (UI). Learn how.
If you need help, reach out to the community on Slack, or contact us directly.
You are now ready to start creating a source connector! Keep reading to learn how.
Ingest your files into Unstructured from SharePoint.
The requirements are as follows.
If you are setting up the SharePoint connector for the first time, you can skip past this note.
Previous versions of the SharePoint connector relied on SharePoint app principals for authentication. Current versions of the SharePoint connector no longer support these SharePoint app principals. Microsoft deprecated support for Share Point app principals on November 27, 2023. SharePoint app principals will no longer work for SharePoint tenants that were created on or after November 1, 2024, and they will stop working for all SharePoint tenants as of April 2, 2026. Learn more.
Current versions of the SharePoint connector now rely on Microsoft Entra ID app registrations for authentication.
To migrate from SharePoint app princpals to Entra ID app regisrations, replace the following settings in your existing SharePoint connector, as listed in the requirements following this note:
If you need migration help, get assistance from our Slack community or contact us directly.
A SharePoint Online plan, or a Microsoft 365 or Office 365 Business or enterprise plan that includes SharePoint Online. Learn more. Shop for business plans. Shop for enterprise plans.
A OneDrive for business plan, or a Microsoft 365 or Office 365 Business or enterprise plan that includes OneDrive. (Even if you only plan to use SharePoint Online, you still need a plan that includes OneDrive, because the SharePoint connector is built on OneDrive technology.) Learn more. Shop for business plans. Shop for enterprise plans. OneDrive personal accounts, and Microsoft 365 Free, Basic, Personal, and Family plans are not supported.
The SharePoint Online and OneDrive plans must share the same Microsoft Entra ID tenant. Learn more.
The SharePoint Online site URL.
https://<tenant>.sharepoint.com/sites/<site-collection-name>
.https://<tenant>.sharepoint.com
.https://<tenant>-admin.sharepoint.com
.The display name of the SharePoint Online library to use. The default is Documents
.
The path to the SharePoint Online library to use. By default, the root of the target library is used.
To start from a path other than the root, enter the path that you want to use, beginning from the root. For example, to use
the my-folder > my-subfolder path in the target library, you would specify my-folder/my-subfolder
.
The following video shows how to get the site URL and a path within the site:
Two types of authentication are supported: client credentials and a username and password. Both authentication types require a Microsoft Entra ID app registration. You will need to provide the Application (client) ID, Directory (tenant) ID, and Client secret for the Entra ID app registration, and the app registration must have the correct set of Microsoft Graph access permissions. These permissions include:
Sites.ReadWrite.All
(if both reading and writing are needed)
User.Read.All
Learn more.
The following video shows how to create an Entra ID app registration:
The following video shows how to add the correct set of Graph access permissions to the Entra ID app registration:
The token authority URL for your Microsoft Entra ID app registration. This is typically https://login.microsoftonline.com
For username and password authentication, you must also provide the User Principal Name (UPN) and its password for the OneDrive account in the Microsoft Entra ID tenant. This UPN is typically the OneDrive account user’s email address. To find a UPN:
The following video shows how to get a UPN:
To create a SharePoint source connector, see the following examples.
Replace the preceding placeholders as follows:
<name>
(required) - A unique name for this connector.<site>
(required) - The base URL of the SharePoint site to connect to.<library>
- The display name of the SharePoint library to use. The default is Documents
.<path>
- The path to use within the library. The default is the root of the target library. To use a different path, specify the correct path format as described previously in this article.recursive
, set to true
to recursively process data from subfolders within the target path. The default is false
if not otherwise specified.<client-id>
(required) - The client ID provided by SharePoint for the app registration.<tenant>
(required) - The Directory (tenant) ID for the Microsoft Entra ID app registration with the correct set of Microsoft Graph access permissions.<authority-url>
- The authentication token provider URL for the Entra ID app registration. The default is https://login.microsoftonline.com.<client-cred>
(required) - The Client secret for the Entra ID app registration.<user-pname>
(required for username and password authentication) - For username and password authentication, the UPN for the OneDrive account in the Entra ID tenant.<password>
(required for username and password authentication) - For username and password authentication, the password for the target UPN.If you’re new to Unstructured, read this note first.
Before you can create a source connector, you must first sign in to your Unstructured account:
After you sign in, the Unstructured user interface (UI) appears, which you use to get your Unstructured API key. To learn how, watch this 40-second how-to video.
After you create the source connector, add it along with a destination connector to a workflow. Then run the worklow as a job. To learn how, try out the hands-on Workflow Endpoint quickstart, go directly to the quickstart notebook, or watch the two 4-minute video tutorials for the Unstructured Python SDK.
You can also create source connectors with the Unstructured user interface (UI). Learn how.
If you need help, reach out to the community on Slack, or contact us directly.
You are now ready to start creating a source connector! Keep reading to learn how.
Ingest your files into Unstructured from SharePoint.
The requirements are as follows.
If you are setting up the SharePoint connector for the first time, you can skip past this note.
Previous versions of the SharePoint connector relied on SharePoint app principals for authentication. Current versions of the SharePoint connector no longer support these SharePoint app principals. Microsoft deprecated support for Share Point app principals on November 27, 2023. SharePoint app principals will no longer work for SharePoint tenants that were created on or after November 1, 2024, and they will stop working for all SharePoint tenants as of April 2, 2026. Learn more.
Current versions of the SharePoint connector now rely on Microsoft Entra ID app registrations for authentication.
To migrate from SharePoint app princpals to Entra ID app regisrations, replace the following settings in your existing SharePoint connector, as listed in the requirements following this note:
If you need migration help, get assistance from our Slack community or contact us directly.
A SharePoint Online plan, or a Microsoft 365 or Office 365 Business or enterprise plan that includes SharePoint Online. Learn more. Shop for business plans. Shop for enterprise plans.
A OneDrive for business plan, or a Microsoft 365 or Office 365 Business or enterprise plan that includes OneDrive. (Even if you only plan to use SharePoint Online, you still need a plan that includes OneDrive, because the SharePoint connector is built on OneDrive technology.) Learn more. Shop for business plans. Shop for enterprise plans. OneDrive personal accounts, and Microsoft 365 Free, Basic, Personal, and Family plans are not supported.
The SharePoint Online and OneDrive plans must share the same Microsoft Entra ID tenant. Learn more.
The SharePoint Online site URL.
https://<tenant>.sharepoint.com/sites/<site-collection-name>
.https://<tenant>.sharepoint.com
.https://<tenant>-admin.sharepoint.com
.The display name of the SharePoint Online library to use. The default is Documents
.
The path to the SharePoint Online library to use. By default, the root of the target library is used.
To start from a path other than the root, enter the path that you want to use, beginning from the root. For example, to use
the my-folder > my-subfolder path in the target library, you would specify my-folder/my-subfolder
.
The following video shows how to get the site URL and a path within the site:
Two types of authentication are supported: client credentials and a username and password. Both authentication types require a Microsoft Entra ID app registration. You will need to provide the Application (client) ID, Directory (tenant) ID, and Client secret for the Entra ID app registration, and the app registration must have the correct set of Microsoft Graph access permissions. These permissions include:
Sites.ReadWrite.All
(if both reading and writing are needed)
User.Read.All
Learn more.
The following video shows how to create an Entra ID app registration:
The following video shows how to add the correct set of Graph access permissions to the Entra ID app registration:
The token authority URL for your Microsoft Entra ID app registration. This is typically https://login.microsoftonline.com
For username and password authentication, you must also provide the User Principal Name (UPN) and its password for the OneDrive account in the Microsoft Entra ID tenant. This UPN is typically the OneDrive account user’s email address. To find a UPN:
The following video shows how to get a UPN:
To create a SharePoint source connector, see the following examples.
Replace the preceding placeholders as follows:
<name>
(required) - A unique name for this connector.<site>
(required) - The base URL of the SharePoint site to connect to.<library>
- The display name of the SharePoint library to use. The default is Documents
.<path>
- The path to use within the library. The default is the root of the target library. To use a different path, specify the correct path format as described previously in this article.recursive
, set to true
to recursively process data from subfolders within the target path. The default is false
if not otherwise specified.<client-id>
(required) - The client ID provided by SharePoint for the app registration.<tenant>
(required) - The Directory (tenant) ID for the Microsoft Entra ID app registration with the correct set of Microsoft Graph access permissions.<authority-url>
- The authentication token provider URL for the Entra ID app registration. The default is https://login.microsoftonline.com.<client-cred>
(required) - The Client secret for the Entra ID app registration.<user-pname>
(required for username and password authentication) - For username and password authentication, the UPN for the OneDrive account in the Entra ID tenant.<password>
(required for username and password authentication) - For username and password authentication, the password for the target UPN.