Skip to content

viktor-platform/sharepoint-example-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SharePoint Integration

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

Step 1: Setup SharePoint Integration

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.

Step 2: Setup VIKTOR OAuth Integration

Follow these steps:

https://docs.viktor.ai/docs/create-apps/software-integrations/#oauth-20

Step 3: Install VIKTOR app

!

About

Example app that uses OAuth with Sharepoint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages