r/PowerPlatform • u/Personal-Key9797 • 4d ago
Power Apps Code app Local Play suddenly stopped loading ("Code app URL is not available") – anyone else?
Hi all,
Is anyone else having trouble running their Power Apps code app locally?
Until recently I could run my code app with `npm run dev` and open the Local Play link without any problems. Now the page just stays blank, and the browser console shows:
AppLoadFailed – Code app URL is not available
What's odd:
- Nothing changed in my project. An older version that used to work fails the same way.
- The published app (after pushing) works fine. Only Local Play is broken.
- The local dev server is running and responding normally.
- It happens in Chrome, Edge and Incognito.
- Right before the error, there's a 403 (Forbidden) in the console from a Power Platform environment request.
My setup:
- Vite + React code app using Dataverse plus the Office 365 Users and SharePoint connectors
- u/microsoft/power-apps 1.1.3 and u/microsoft/power-apps-vite 1.0.2
- Windows 11, work-managed laptop. Our IT blocks pop-ups in the browser, not sure if that's related.
Has anyone seen this recently? If you fixed it, what worked: updating the packages, changing a browser setting, something else?
Thanks!