Power Apps DIRECTLY upload files to SharePoint Document Library | GRAPH API



Power Apps DIRECTLY upload files to SharePoint Document Library | GRAPH API

Power Apps DIRECTLY upload files to SharePoint Document Library | GRAPH API

In this Power Apps design tutorial video, I will showcase how to upload multiple files directly from Power Apps to SharePoint document library using the Microsoft Graph API. We will leverage the Office 365 groups connector’s (standard connector) “Send an HTTP request” action in PowerApps to call the Graph API to upload files from attachments control.
Video will include a demo of an end-to-end SharePoint document library experience in Power Apps.

Video includes the following:
✅ Uploading files from Power Apps to SharePoint Document Library without Power Automate
✅ Upload files to SharePoint using Graph API in Power Apps
✅ Uploading multiple files from Power Apps to SharePoint Document Library and set metadata (edit document properties)
✅ Use Graph API PUT method to upload the files using Office 365 Groups connector’s “Send an HTTP Request” function
✅ Uploading files to document library at root or folder level

All of the above using standard connector actions in Power Apps.

Useful Links 🔗

Microsoft Graph API endpoint to Upload file to SharePoint
https://learn.microsoft.com/en-us/graph/api/driveitem-put-content?view=graph-rest-1.0&tabs=http

Office 365 Groups Connector
https://learn.microsoft.com/en-us/connectors/office365groups/

Send an HTTP request – Construct a Microsoft Graph REST API request to invoke
https://learn.microsoft.com/en-us/connectors/office365groups/#send-an-http-request

Use the Microsoft Graph API
https://learn.microsoft.com/en-us/graph/use-the-api

Microsoft Graph Explorer Documentation
https://learn.microsoft.com/en-us/graph/graph-explorer/graph-explorer-overview

Microsoft Graph Explorer
https://developer.microsoft.com/en-us/graph/graph-explorer

Power Apps SharePoint Document Library Tutorial
https://youtu.be/TmRFAP7xTwk

PowerApps PDF Viewer SharePoint Document Library without flow (view PDFs and Office files directly in Power Apps)
https://youtu.be/vqK29FWbLxU

Download Sample App
https://github.com/rdorrani/PowerApps/blob/master/DocumentLibraryPowerApps_20230116000444.zip

#PowerApps #SharePoint #MicrosoftGraph #PowerPlatform

Table of Contents:
00:00 – Introduction to upload files to SharePoint Document Library from Power Apps via Graph API
00:34 – SharePoint Document Library
01:30 – Create a Power App connected to SharePoint Document Library
03:40 – Upload document from Power Apps?
04:12 – Upload files from Power Apps Attachments Control
06:22 – Upload files from PowerApps to SharePoint using Graph API
07:33 – Microsoft Graph Explorer
08:13 – Graph API – Upload files to SharePoint document library
11:30 – Call send an http request from Power Apps to upload files to SharePoint
18:20 – End to end document library SharePoint experience in Power Apps
20:42 – Subscribe to Reza Dorrani channel

🤝 Let’s connect on social:
🔗 Reza Dorrani LinkedIn: https://www.linkedin.com/in/rezadorrani/
🐦 Reza Dorrani Twitter: https://twitter.com/rezadorrani

Comments are closed.