Back to Browse

Power Pages & SPA (Part 5): Calling Graph API from Server Logic with Copilot

690 views
Nov 23, 2025
22:34

In Part 5 of the Power Pages & SPA series, we’re taking our React Single Page Application even further — by calling Microsoft Graph API directly through Server Logic, with all backend code generated together using Copilot. This episode is fully hands-on: We’ll use Copilot to generate the Server Logic, create the React integration, and even fix the parts Copilot gets wrong. You’ll see the real debugging process — step by step — to make everything work in Power Pages. 👉 Full blog post for this video (Part 5): https://hacktheplatform.dev/blog/powerpages-spa-using-server-logic-part-5 💾 GitHub repo with all code & prompts: https://github.com/dudelis/power-platform-stuff/ You’ll learn how to: ✅ Use Copilot to generate Power Pages Server Logic ✅ Securely call Microsoft Graph API using application permissions ✅ Store secrets in Environment Variables mapped to Site Settings ✅ Build a React UI that fetches data from Server Logic ✅ Debug & fix Copilot-generated code when it breaks ✅ Deploy everything as part of your SPA 📺 Watch Previous Parts https://youtu.be/k2cSgwYLDZQ https://youtu.be/8_TbfPqhHK8 https://youtu.be/aAmHQ_JZoDk https://youtu.be/pte4SqB7-nc ⏱️ Timeline 00:00 – Intro 00:44 – Project Context – Continuing from Part 4 01:15 – Why Server Logic 01:55 – Using Copilot for Implementation 02:38 – Use Case Description 03:35 – What We Will Build 04:28 – App Registration (permissions & secrets) 05:37 – Environment Variables + Site Settings 07:42 – Generating Server Logic with Copilot 12:07 – Building the React UI with Copilot 14:00 – Debugging and Fixing Copilot’s code 20:47 – Summary & next steps 💬 About This Series This video is Part 5 of the Power Pages & SPA Series on Hack the Platform. Follow the series to learn how to: 🔹 Build production-ready SPAs on Power Pages 🔹 Integrate securely with Dataverse 🔹 Add authentication with Entra ID 🔹 Use Server Logic for real backend scenarios 🔹 Connect external APIs like Microsoft Graph 💬 Questions or something didn’t work? Drop a comment — I read every one and might include your question in the next episode! #powerpages #PowerPlatform #React #MicrosoftGraph #ServerLogic #EntraID #Developers #SPASeries #Copilot #HackThePlatform #LowCode #PowerApps #Integration

Download

1 formats

Video Formats

360pmp441.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Power Pages & SPA (Part 5): Calling Graph API from Server Logic with Copilot | NatokHD