I've been building Power Apps Code Apps for a while now, and the question that kept coming up was always the same: how do I call actual server-side logic from here? With the @microsoft/power-apps npm CLI hitting v1.1.1, that question finally has a clean answer. This guide walks through everything — discovering and scaffolding Dataverse actions, functions, and Power Automate flows, the generated TypeScript service classes, error handling, deployment, and the architectural decisions I'd make on a real project.

