
Microsoft MVP (Business Application & Data Platform) | Microsoft Certified Trainer (MCT) | Microsoft SharePoint & Power Platform Practice Lead | Power BI Specialist | Blogger | YouTuber | Trainer
In a recent YouTube demonstration, Dhruvin Shah [MVP] walks viewers through connecting a SharePoint Online list to a Power Apps Code App using Visual Studio Code and the PAC CLI. He builds a practical Patient Tracker app that reads live data from a SharePoint list and renders it as dynamic cards with React and TypeScript. Consequently, the video serves both as a conceptual overview and a hands-on tutorial, showing commands, file changes, and runtime behavior. Therefore, readers get a clear sense of how low-code and pro-code approaches can be combined for real-world scenarios.
First, Shah demonstrates authenticating the developer environment using the pac auth create command and then running a blank project locally with npm run dev. Next, he creates a SharePoint connection reference, advises renaming that connection as a best practice, and runs pac connection list to capture the Connection ID needed for further commands. Then he uses the pac code add-data-source command with parameters such as -a (API), -c (Connection ID), -t (Table/List), and -d (Data URL), which generates models and service wrappers automatically. Thus, the tutorial shows the exact sequence required to wire a SharePoint list into a Code App project.
After adding the data source, Shah explores the auto-generated Models and Services folders and points out how the generated service exposes methods like PatientTrackerService.getAll() to fetch all records. Then he updates app.tsx to call that service inside a useEffect hook, which ensures the app fetches data on load and updates the UI reactively. Moreover, Shah replaces default styling with custom CSS and previews the final UI where patient cards render live SharePoint items. Consequently, viewers can see how a small amount of wiring produces a live, maintainable front-end that relies on SharePoint as the authoritative data source.
Shah emphasizes that integrating SharePoint lists into Power Apps Code Apps blends low-code speed with developer control, which benefits teams that already use Microsoft 365. Furthermore, he highlights how the PAC CLI simplifies connection management and how generated models reduce repetitive coding, thereby accelerating development. Additionally, using SharePoint as the backend avoids data migration, leverages existing permissions, and supports common column types like choice and lookup without custom services. As a result, organizations can rapidly prototype and then extend to production-ready apps with relatively low overhead.
However, Shah also touches on tradeoffs that developers should weigh. For example, while generated models speed up development, they can introduce maintenance overhead when SharePoint schemas change, so teams must plan schema governance and versioning carefully. Additionally, delegation limits and performance considerations for very large lists require attention; consequently, developers may need to design queries and UI patterns that avoid unpaged scans. Finally, environment-specific connection IDs and configuration in files like power.config.json mean teams should adopt secure CI/CD and secret management practices to avoid leaking environment details.
Shah recommends clear naming for connection references and validating the Connection ID early in the workflow to prevent later confusion during CI/CD or environment switches. Moreover, he suggests verifying generated code folders and keeping service calls encapsulated so that migration to alternative backends is possible later if needs change. He also previews further episodes that will explore automation and AI-assisted development, implying that subsequent tutorials will deepen the integration story with tooling like GitHub Copilot. Therefore, viewers have a path to expand capabilities while maintaining good engineering hygiene.
Overall, the video by Dhruvin Shah [MVP] delivers a compact, practical guide to connecting a SharePoint Online list to a Power Apps Code App using the PAC CLI, React, and TypeScript. It balances tutorial-level detail with architectural context, and it calls out important tradeoffs around maintenance, security, and scale. Consequently, developers and makers who use Microsoft 365 can follow the steps to create live, data-driven UIs while planning for governance and deployment. Ultimately, the tutorial is a useful resource for teams that want to combine the convenience of SharePoint with the flexibility of custom code in Power Apps.
Connect SharePoint list to Power Apps, Power Apps SharePoint integration, PowerApps connect to SharePoint list, SharePoint connector Power Apps, Bind SharePoint list in Power Apps, Power Apps CRUD operations SharePoint, Use SharePoint list as data source Power Apps, SharePoint list Power Apps code