Show/Hide Toolbars

Additional Resources

Introduction > Integration with Microsoft SharePoint > Thereforeā„¢ Connector for Microsoft SharePoint

Configuration of the SharePoint App-Only Authentication

Scroll

How to configure SharePoint App-Only Authentication without using Azure AD

 

1.To register the App in SharePoint, adapt the following URL using your tenant name and enter it in your browser.

 

 {tenant name}-admin.sharepoint.com/_layouts/15/appregnew.aspx

 

Click the Generate buttons under the respective fields to to create a new Client Id and Client Secret. Give the app an intuitive name. For the App Domain and Redirect URI the configuration shown in the screenshot below will work. Click Create to proceed.

SP_Installation_AppOnly_001

note

The Client Secret is not accessible after the creation process. Please make sure to copy and save it after clicking Create.

 

2.The next step is to set the necessary permissions for the app. To do so, adapt the following URL using your tenant name and enter it in your browser.

 

 {tenant name}-admin.sharepoint.com/_layouts/15/appinv.aspx

 

Enter the Client Id into the App Id field and click Lookup. The other fields are filled in automatically except for Permission Request XML. Please enter the following permissions into Permission Request XML:

 

<AppPermissionRequests AllowAppOnlyPolicy="true">

<AppPermissionRequest Scope="http://sharepoint/content/tenant"

Right="Manage" />

</AppPermissionRequests>

 

SP_Installation_AppOnly_002

info

Depending on your needs, it is also possible to give the app "FullControl" permission.

 

Click Create to proceed.

 

3.Clicking Create opens the following dialog:

SP_Installation_AppOnly_003

Click Trust It to proceed.

 

4.You can review the trusted apps using the following URL:

 

 {tenant name}-admin.sharepoint.com/_layouts/15/appprincipals.aspx

 

Here, the Client Ids and Tenant Ids are visible. Please copy the Tenant Id to use it in the next step. The Tenant Id will be the part of the App Identifier that is behind the @ sign.

SP_Installation_AppOnly_004

info

The App Identifier has the following structure i:0i.t[ms.sp.ext]Client Id@Tenant Id.

 

5.In the Thereforeā„¢ Solution Designer, go to the Microsoft SharePoint node. Right-click on the SharePoint node and click New Connection or right-click on an existing connection and select Properties... to open the SharePoint Connection Properties dialog.

 

Please select App ID as the identification method.

Choose an intuitive Connection name.

To test the connection, use the following URL with your tenant name under Site collections URL.

 

 https://{tenant name}.sharepoint.com/sites/{Site Name}

 

Enter your Client ID as the Client ID (App ID).

For Client Secret enter your Client Secret.

For Tenant ID enter the Tenant ID from the previous step.

SP_Installation_AppOnly_005

6.Click Test Connection...

 

If everything was configured correctly a confirmation message ('Connection test successful') is shown.

Ā© 2024 Therefore Corporation, all rights reserved.