Upload Files to SharePoint from a Website | REST, Graph, Large Files & Metadata

Published 14/04/2026

Description

Tired of struggling with SharePoint file uploads in your web applications? Whether you are dealing with small documents or massive files, getting the authentication, upload sessions, and metadata right can be a major challenge for developers. In this video, I build a complete end-to-end solution for uploading files from a website directly into SharePoint Online. We cover everything from setting up an Azure App Registration to handling large file upload sessions and managing custom metadata columns using Microsoft Graph and REST APIs. 0:00 - Introduction 0:11 - Description 1:13 - Create SharePoint Site 3:18 - Create App Registration 7:44 - SharePoint Sub-Directories 7:59 - Generate Large Files for Testing 9:18 - Uploading Small Files (REST) 17:40 - Exploring with Graph Explorer 18:34 - Securing Site Access Properly 22:53 - Uploading Large Files (Upload Sessions) 27:32 - Managing SharePoint Metadata 32:44 - Building the Website Upload Flow 38:51 - Security Testing (EICAR Scan) 39:42 - Conclusion What you’ll learn: Azure Setup: How to create an App Registration and configure permissions for SharePoint. File Handling: The technical difference between simple REST uploads for small files and "Upload Sessions" for large files. Microsoft Graph API: Navigating the Graph Explorer to test your queries and endpoints. Metadata Management: How to programmatically populate custom SharePoint columns during the upload process. Security Best Practices: Implementing least-privilege access and validating file security using EICAR testing. This video is essential for developers, architects, and engineers building professional document management solutions within the Microsoft 365 ecosystem. #SharePoint #MicrosoftGraph #DotNet GitHub https://l.samayas.eu/bIiLKxlwSU Follow me on X: https://l.samayas.eu/jo3eaYEf3E?P=YT&V=111 Buy me a Coffee: https://l.samayas.eu/jX6xL7EWhd?P=YT&V=111 Studio Equipment Camera Sony Alpha ZV-E10 II: https://l.samayas.eu/k7y95TREl0?P=YT&V=111