Use SharePoint Document Libraries in Power Apps Code Apps

Published: 25 August 2026
on channel: Power Squared
595
13

Power Apps Code Apps can now work with SharePoint document libraries, Dataverse, file uploads, and environment variables. In this practical walkthrough, we show you how to bridge two current platform gaps and build a smoother file experience without storing expensive document content in Dataverse.

We use a real estate app to demonstrate the full pattern: uploading property photos to a SharePoint library, linking each file to a Dataverse record, starring favourites, changing the sort order, and choosing a featured image. You’ll see how our custom connector files close the gap in Code Apps and support uploads, replacements, deletions, metadata, and downloadable file content.

We also explain the setup requirements, including Power Apps version 1.3 or later, a SharePoint connection, your site URL, and document library name. For deployment across environments, we show how a simple Dataverse config table can hold non-sensitive values such as a folder path, while calling out the security trade-offs and why secrets do not belong there.

Everything you need is available in our open-source, MIT-licensed repository: https://github.com/PowerSquared/code-...

Give it to your coding agent, follow the setup instructions, and adapt the pattern to your own Code App while Microsoft’s native support catches up.

If you try it, tell us in the comments what you’re building, or connect with Charles at   / charlie-sexton   and Josh at   / joshgiles94   on LinkedIn. We’d love to see where you take it and hear which Code Apps gap we should tackle next.

#PowerApps #SharePoint #Dataverse #PowerPlatform #CodeApps

00:00:00 - Why Store Code App Files in SharePoint
00:00:51 - Tour the Dataverse and SharePoint Photo App
00:01:25 - Upload Photos and Link Them to Dataverse Records
00:02:28 - Sort, Star, and Choose a Featured Photo
00:03:42 - Bridge the SharePoint Document Library Gap
00:04:31 - Configure the SharePoint Connection and Library
00:05:20 - Upload, Replace, Delete, and Download Files
00:06:09 - Let an AI Agent Set Up the Connector Files
00:06:56 - Store Folder Paths in a Dataverse Config Table
00:08:38 - Protect Sensitive Configuration Values and Secrets


On this page of the site you can watch the video online Use SharePoint Document Libraries in Power Apps Code Apps with a duration of hours minute second in good quality, which was uploaded by the user Power Squared 25 August 2026, share the link with friends and acquaintances, this video has already been watched 595 times on youtube and it was liked by 13 viewers. Enjoy your viewing!