Microsoft Graph Sites.Selected Custom integration

Custom SharePoint integration development

You keep SharePoint as the home for your documents, but your own app needs to be part of it too: saving files to the right library, filling in metadata, updating lists and seeing only the sites it should. Appfront builds that integration via Microsoft Graph, with an app registration in Microsoft Entra ID that only gets access to the sites you specify.

What is a SharePoint integration?

A SharePoint integration connects a custom application to the document libraries and lists in SharePoint Online. The documents stay in SharePoint, with the versions, permissions and retention rules your organisation has already set up there. Your app saves files to it, retrieves them, fills in the metadata and updates lists, so staff no longer have to copy things between two systems by hand. That is not the same as replacing SharePoint: this page is about keeping SharePoint and connecting to it properly.

The route is Microsoft Graph. According to Microsoft's documentation, the SharePoint API in Graph provides access to sites, lists and drives, which is what document libraries are called there. Sites are read-only, while lists, list items and files can also be written to. Every file is a driveItem, and in a document library it has a list item with the columns, i.e. your metadata. Files have versions, can be checked in and out, and can be given a retention label if required. For large files there is an upload session. Where Graph offers nothing, there is the SharePoint REST API, which works with OData and remains available.

You manage access with an app registration in Microsoft Entra ID. With the Sites.Selected permission, the integration has no access anywhere once approved: an administrator assigns what the app may do per site, whether read, write or more. This can also be done per list, folder or file, and access can be revoked per site. Older integrations often don't work this way. SharePoint Add-ins and sign-in via Azure ACS stopped working for new SharePoint Online environments on 1 November 2024, and for all environments on 2 April 2026. Microsoft does not offer an extension; sign-in must go through Microsoft Entra ID.

We build the integration around your process. A case in your app gets its own folder in the right library, an uploaded document immediately gets the right columns, and a change in a SharePoint list comes back into your app via a change notification, with delta as a safety net for missed changes. SharePoint throttles applications that make too many requests; the integration then waits as long as the Retry-After response indicates and spreads large volumes over time. Every action is logged, and anything that fails ends up in a list with the reason.

Here are a few examples of what such an integration does in practice. An advisory firm creates a new project in its own project system, and the integration sets up a folder in SharePoint with the standard subfolders and the project code as a column. An educational institution shows only the documents from the library where the 'published' column is switched on in its portal. An organisation that used an old add-in to put forms into a SharePoint list gets its own app that does the same, with sign-in via Microsoft Entra ID.

SharePoint stays

Documents where they belong.

Only your sites

Via Sites.Selected.

Metadata straight away

Columns filled in.

How we build your SharePoint integration

We start with your setup: which sites and libraries you have, which columns and content types you use, and which documents and lists your app needs. We then arrange the app registration and per-site access together with your administrator. We usually begin with a single flow, such as storing documents against a case file, so that it has been tested in a test site before the rest follows.

1
Mapping your setup

Sites, libraries, columns.

2
Registration and access

Entra ID and Sites.Selected.

3
First flow

Tested in a test site.

4
Go-live and maintenance

Monitoring of every action.

What a SharePoint integration actually does

The components below appear in almost every SharePoint integration. Which ones you need depends on your setup and on what your app does with the documents.

Documents

Store and retrieve.

Metadata

Columns per file.

Lists

Read and update items.

Folders

Per case file or project.

Access

Assigned per site.

Log

Every action logged.

Who we build a SharePoint integration for

The integration is intended for organisations that work with Microsoft 365, want to keep SharePoint for document management and also have their own app or portal. Think of an SME that wants to store quotes and contracts from its own system in SharePoint, a housing association or educational institution with a portal that shows documents from SharePoint, or an organisation that needs to replace an old add-in.

SMEs

Case files from your own systems.

Semi-public organisations

Portals alongside SharePoint.

Project organisations

Folder per project.

Add-in owners

Moving to Entra ID.

Technology and integrations

If you also want to integrate Outlook, Teams or OneDrive alongside SharePoint, see our Microsoft 365 integration; this page is specifically about document libraries, lists, metadata and permissions. If you would rather replace SharePoint with a platform of your own, read a custom SharePoint alternative. For signing in with Microsoft accounts in your own app there is an Azure AD integration, and what a Microsoft Graph outage does to integrations is covered in lessons for integrations built on Microsoft Graph.

Microsoft Graph SharePoint REST API Microsoft Entra ID Sites.Selected driveItem Lists and columns Change notifications Delta Upload sessions Audit log

Why Appfront for your SharePoint integration?

Documents belong in one place, with one set of permissions. A file that is in your app but not in SharePoint, or an integration that can reach every site, causes confusion and risk. That is what we build on: SharePoint as the source for documents, an integration that can only reach the designated sites, and every action stored in a way that can be audited.

One place

Documents in SharePoint.

Minimal access

Designated sites only.

Verifiable

Every action logged.

Security and privacy in a SharePoint integration

With Sites.Selected, the integration does not get access to the whole environment, only to the sites, lists or folders that your administrator assigns, with the appropriate role. Where the integration works on behalf of a signed-in employee, according to Microsoft it can never do more than that employee can. The GDPR applies to every system that processes the documents.

The integration runs in a European data centre or in your own environment, with encrypted connections and storage. The certificates and secrets of the app registration are kept protected, and every action is logged with time and outcome, so you can trace which document was saved or changed, and when.

Frequently asked questions about a SharePoint integration

Questions organisations ask before integrating with SharePoint.

No. Your documents stay in SharePoint, with your versions, permissions and retention rules. The integration lets your own app store, retrieve and update them.

Not with Sites.Selected. After consent, the app has no access anywhere yet; an administrator assigns what the app may do per site, list or folder.

Not in SharePoint Online. Add-ins and Azure ACS have stopped working in existing environments since 2 April 2026. Sign-in must go through Microsoft Entra ID.

Yes. A document in a library has a list item with the columns. The integration fills these in when saving and reads them back.

Through change notifications on a list or library. In addition, the integration uses delta to fetch what has changed since last time, so nothing is missed.

We assess that per environment. Microsoft Graph is for SharePoint Online; for an on-premises server we use SharePoint's own REST API.

Want to integrate your app with SharePoint?

Tell us which documents and lists your app needs and how your SharePoint is set up. We'll show how an integration can handle that with minimal permissions and full auditability.

Edit content