App Registration
Setting up SharePoint to allow access to Thru MFT
Firstly you will need to login as an administrator with access to Azure Active Directory.
![image-20240329-130117.png](../__attachments/3061547061/image-20240329-130117.png?inst-v=3cba6b37-a299-4c99-9125-99c7986206d9)
Navigate to App Registrations
Click New registration
![image-20240329-130202.png](../__attachments/3061547061/image-20240329-130202.png?inst-v=3cba6b37-a299-4c99-9125-99c7986206d9)
Name the application, then click the Register button (it is useful to name it with something that will associate it with Thru and the use of SharePoint)
![image-20240329-130231.png](../__attachments/3061547061/image-20240329-130231.png?inst-v=3cba6b37-a299-4c99-9125-99c7986206d9)
Once created navigate to Certificates & secrets
Note the Application Client ID this is required for the configuration of the SharePoint Endpoint in Thru.
![image-20240329-130305.png](../__attachments/3061547061/image-20240329-130305.png?inst-v=3cba6b37-a299-4c99-9125-99c7986206d9)
Next we need to create a New Client secret
![image-20240329-130328.png](../__attachments/3061547061/image-20240329-130328.png?inst-v=3cba6b37-a299-4c99-9125-99c7986206d9)
Give the client secret a description and note that the client secret expires.
![image-20240329-130402.png](../__attachments/3061547061/image-20240329-130402.png?inst-v=3cba6b37-a299-4c99-9125-99c7986206d9)
Copy and store the Client secret this is required for the configuration of the SharePoint Endpoint in Thru.
![image-20240329-130423.png](../__attachments/3061547061/image-20240329-130423.png?inst-v=3cba6b37-a299-4c99-9125-99c7986206d9)
Next we need to give this App API permissions, click Add a Permission
![image-20240329-130442.png](../__attachments/3061547061/image-20240329-130442.png?inst-v=3cba6b37-a299-4c99-9125-99c7986206d9)
Select Microsoft Graph
![image-20240329-130514.png](../__attachments/3061547061/image-20240329-130514.png?inst-v=3cba6b37-a299-4c99-9125-99c7986206d9)
From the Request API permissions select Application permissions, in the Select permissions field type files.
Below expand Files and select Files.ReadWrite.All then click on Add permissions.
![image-20240329-130537.png](../__attachments/3061547061/image-20240329-130537.png?inst-v=3cba6b37-a299-4c99-9125-99c7986206d9)
Next step is important - select Grant admin consent for MSFT.
![image-20240329-130559.png](../__attachments/3061547061/image-20240329-130559.png?inst-v=3cba6b37-a299-4c99-9125-99c7986206d9)