Sharepoint

Sharepoint logo

Sharepoint

Configuration

SharePoint source connector integrates with the Microsoft Graph API.

Synchronizes data from SharePoint including sites, document libraries, files, users, and groups.

It provides comprehensive access to SharePoint resources with intelligent error handling and rate limiting.

Authentication

This connector uses OAuth 2.0 authentication. You can connect through the Airweave UI or API using the OAuth flow.

Supported authentication methods:

  • OAuth Browser Flow (recommended for UI)
  • OAuth Token (for programmatic access)
  • Auth Provider (enterprise SSO)

Configuration Options

This connector does not have any additional configuration options.

Data Models

The following data models are available for this connector:

Schema for a SharePoint user.

Reference: https://learn.microsoft.com/en-us/graph/api/resources/user

FieldTypeDescription
idstrSharePoint user ID.
display_namestrThe name displayed in the address book for the user.
user_principal_nameOptional[str]The user principal name (UPN) of the user (e.g., user@contoso.com).
mailOptional[str]The SMTP address for the user.
job_titleOptional[str]The user’s job title.
departmentOptional[str]The department in which the user works.
office_locationOptional[str]The office location in the user’s place of business.
mobile_phoneOptional[str]The primary cellular telephone number for the user.
business_phonesOptional[List[str]]The telephone numbers for the user.
account_enabledOptional[bool]Whether the account is enabled.
web_url_overrideOptional[str]Link to the user’s profile in SharePoint.

Schema for a SharePoint group.

Reference: https://learn.microsoft.com/en-us/graph/api/resources/group

FieldTypeDescription
idstrGroup ID.
display_namestrThe display name for the group.
descriptionOptional[str]An optional description for the group.
mailOptional[str]The SMTP address for the group.
mail_enabledOptional[bool]Whether the group is mail-enabled.
security_enabledOptional[bool]Whether the group is a security group.
group_typesList[str]Specifies the group type (e.g., ‘Unified’ for Microsoft 365 groups).
visibilityOptional[str]Visibility of the group (Public, Private, HiddenMembership).
web_url_overrideOptional[str]Link to the group in Microsoft 365.

Schema for a SharePoint site.

Reference: https://learn.microsoft.com/en-us/graph/api/resources/site

FieldTypeDescription
idstrSite ID from Microsoft Graph.
display_namestrThe full title for the site.
site_nameOptional[str]The name/title of the site.
descriptionOptional[str]The descriptive text for the site.
web_url_overrideOptional[str]URL that displays the site in the browser.
is_personal_siteOptional[bool]Whether the site is a personal site.
site_collectionOptional[Dict[str, Any]]Details about the site’s site collection.

Schema for a SharePoint drive (document library).

Reference: https://learn.microsoft.com/en-us/graph/api/resources/drive

FieldTypeDescription
idstrDrive ID.
namestrDrive name.
descriptionOptional[str]User-visible description of the drive.
drive_typeOptional[str]Type of drive (documentLibrary, business, etc.).
web_url_overrideOptional[str]URL to view the drive in a browser.
ownerOptional[Dict[str, Any]]Information about the drive’s owner.
quotaOptional[Dict[str, Any]]Information about the drive’s storage quota.
site_idOptional[str]ID of the site that contains this drive.

Schema for a SharePoint drive item (file or folder).

Reference: https://learn.microsoft.com/en-us/graph/api/resources/driveitem

FieldTypeDescription
idstrDrive item ID.
namestrGraph item name.
descriptionOptional[str]User-visible description of the item.
web_url_overrideOptional[str]URL to display the item in a browser.
fileOptional[Dict[str, Any]]File metadata if the item is a file (e.g., mimeType, hashes).
folderOptional[Dict[str, Any]]Folder metadata if the item is a folder (e.g., childCount).
parent_referenceOptional[Dict[str, Any]]Information about the parent of this item (driveId, path, etc).
created_byOptional[Dict[str, Any]]Identity of the user who created the item.
last_modified_byOptional[Dict[str, Any]]Identity of the user who last modified the item.
site_idOptional[str]ID of the site that contains this item.
drive_idOptional[str]ID of the drive that contains this item.

Schema for a SharePoint list.

Reference: https://learn.microsoft.com/en-us/graph/api/resources/list

FieldTypeDescription
idstrList ID.
display_namestrThe displayable title of the list.
list_nameOptional[str]The name of the list.
descriptionOptional[str]The description of the list.
web_url_overrideOptional[str]URL to view the list in browser.
list_infoOptional[Dict[str, Any]]Additional list metadata (template, hidden, etc).
site_idOptional[str]ID of the site that contains this list.

Schema for a SharePoint list item.

Reference: https://learn.microsoft.com/en-us/graph/api/resources/listitem

FieldTypeDescription
idstrList item ID.
titlestrDisplay title for the list item.
fieldsOptional[Dict[str, Any]]The values of the columns set on this list item (dynamic schema).
content_typeOptional[Dict[str, Any]]The content type of this list item.
created_byOptional[Dict[str, Any]]Identity of the user who created the item.
last_modified_byOptional[Dict[str, Any]]Identity of the user who last modified the item.
web_url_overrideOptional[str]URL to view the item in browser.
list_idOptional[str]ID of the list that contains this item.
site_idOptional[str]ID of the site that contains this item.

Schema for a SharePoint site page.

Reference: https://learn.microsoft.com/en-us/graph/api/resources/sitepage

FieldTypeDescription
idstrPage ID.
titlestrThe title of the page.
page_nameOptional[str]The name of the page.
contentOptional[str]The actual page content (extracted from webParts).
descriptionOptional[str]Description or summary of the page content.
page_layoutOptional[str]The layout type of the page (article, home, etc).
web_url_overrideOptional[str]URL to view the page in browser.
created_byOptional[Dict[str, Any]]Identity of the user who created the page.
last_modified_byOptional[Dict[str, Any]]Identity of the user who last modified the page.
publishing_stateOptional[Dict[str, Any]]Publishing status of the page.
site_idOptional[str]ID of the site that contains this page.