/
Required App Registrations

Required App Registrations

For the Custom Connector to work with SharePoint and tia® Connect, the following App Registrations need to be created.

 

App Registrations for metadata and file content (global)

For access from SharePoint the following API permissions are required:

These are global Permissions, you can limit the access to individual sites. see Required App Registrations | App Registrations for metadata and file content (sites)

API

Permission

Type

Description

API

Permission

Type

Description

Microsoft Graph

Sites.FullControl.All

Application

Have full control of all site collections

SharePoint

Sites.ReadWrite.All

Application

Read and write items in all site collections

App Registrations for metadata and file content (sites)

API

Permission

Type

Description

API

Permission

Type

Description

Microsoft Graph

Sites.Selected

Application

Have full control of selected site collections

SharePoint

Sites.Selected

Application

Read and write items in selected site collections

The permission requires further configuration: Controlling app access on a specific SharePoint site collections is now available in Microsoft Graph - Microsoft 365 Developer Blog

Use the e.g. Microsoft Graph Explorer or Postman to send this request with for sites that should use tia® Connect:

POST https://graph.microsoft.com/v1.0/sites/<siteId>/permissions Content-Type: application/json { "roles": ["fullcontrol"], "grantedToIdentities": [{ "application": { "id": "<ClientId>", "displayName": "<AppRegistration Name>" } }] }

The Site name can be found with Graph API, too:

https://graph.microsoft.com/v1.0/sites?search=<SiteName>&$select=id

The result contains the siteId:

{     "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#sites(id)",     "value": [         {             "id": "<siteId>         }     ] }

 

App Registrations for communication with tia® Connect via the Custom Connector

API

Permission

Type

Description

API

Permission

Type

Description

Microsoft Graph

offline_access

Delegated

Maintain access to data you have given access to

Microsoft Graph

User.Read

Delegated

Sign in and read user profile

tia Sharepoint

write-archive

Application

write-archive

 

Related content

Solution overview
Solution overview
More like this
Installation SPFX-SharePoint App (SPC)
Installation SPFX-SharePoint App (SPC)
Read with this
Installation Power Automate Solution (SPC)
Installation Power Automate Solution (SPC)
More like this
tia® Connect SharePoint (core)
tia® Connect SharePoint (core)
Read with this
Security configuration (tia® Connect)
Security configuration (tia® Connect)
More like this
Reference for OpenID authentication
Reference for OpenID authentication
Read with this