SharePoint - Restrictive Permissions (App Registration)
How to connect SharePoint to Couchdrop using an application registered in Microsoft Entra
Overview
Couchdrop can connect to SharePoint using Application Access through an application registered in Microsoft Entra.
This method uses the Microsoft Graph Sites.Selected permission to restrict the application to specific SharePoint sites, rather than granting access across the entire SharePoint environment.
To configure this connection, you will create an application in Microsoft Entra, grant it access to the required SharePoint site using Microsoft Graph Explorer, and then connect the application to Couchdrop.
How to connect SharePoint using Application Access
Before you start
To configure SharePoint Application Access, you will need:
Access to the Microsoft Entra admin center
Permission to register applications and grant admin consent in Microsoft Entra
Access to Microsoft Graph Explorer
The SharePoint site you want Couchdrop to access
Configure an application in Microsoft Entra
Register an application
Open the Microsoft Entra admin center and go to App registrations.
Select New registration, enter a name for the application, such as Couchdrop-SharePoint, and leave the remaining options at their defaults.
Select Register.
Grant access to the SharePoint site
The Sites.Selected permission does not give the application access to SharePoint sites by itself.
You must explicitly grant the application permission to each SharePoint site Couchdrop needs to access.
Find the SharePoint Site ID
Open the following URL in your browser, replacing the tenant and site name with your SharePoint values:
For example:
The response contains the SharePoint Site ID. For example:
Copy the GUID value. You will use it when granting the application access.
Grant permissions using Microsoft Graph Explorer
Sign in to Graph Explorer
Open Microsoft Graph Explorer and sign in with your Microsoft account.
Select your user icon, then select Consent to permissions.
Grant your account the Sites.FullControl.All permission.
Grant the application access to the SharePoint site
In Graph Explorer, send a POST request to:
Replace <site_id> with the Site ID retrieved earlier.
Use the following request body:
Replace:
<APPLICATION_CLIENT_ID>with the Application (client) ID from Microsoft Entra<APPLICATION_DISPLAY_NAME>with the name of your registered application
Select Run Query.
A successful request returns:
201 Created
Connect SharePoint to Couchdrop
Once the Microsoft Entra application has been configured and granted access to the required SharePoint site, you can use it to create the SharePoint connection in Couchdrop.
Specify the SharePoint folder path
When using Sites.Selected, manually specify the SharePoint location that Couchdrop should access.
Use the following path format:
Replace <siteName> with the SharePoint site that was granted access.
You can also include a subfolder beneath the site's Documents library when required.
Frequently asked questions
Last updated
Was this helpful?