This sample app demonstrates how to integrate with Microsoft SharePoint using VIKTOR.
The goal of this app is to demonstrate SharePoint integration capabilities using VIKTOR's OAuth2 authentication. This app connects to Microsoft SharePoint through the Microsoft Graph API, enabling users to browse and preview documents directly within the VIKTOR platform. Using VIKTOR, accessing and viewing SharePoint content becomes seamless and accessible through the browser.
In this application the following functionalities are demonstrated:
- OAuth2 authentication with Microsoft Entra (formerly Azure AD)
- Browse SharePoint sites and document libraries
- Navigate through folder structures
- Preview Excel files (.xlsx) in table format
- Preview Word documents (.docx) as PDFs
- Preview PDF files (.pdf)
- Interactive file loading through web interface
On Azure, setup an API connection https://learn.microsoft.com/en-us/power-platform/admin/configure-azure-app-with-sharepoint-access
Add the following scopes:
- AllSites.Read
- File.Read.All
Make sure to grant the scopes, and don't forget to add the redirection URL.
Follow these steps:
https://docs.viktor.ai/docs/create-apps/software-integrations/#oauth-20
!