Power Pages Gets a Security & Performance Boost with New Server Logic Feature

Microsoft is rolling out a preview of server-side logic for Power Pages that allows developers to run JavaScript securely on the server, helping keep business logic and API keys out of the browser. With this update, data operations move into the backend, offering tighter security, improved performance and better integration with the Microsoft Dataverse platform for full-lifecycle deployment.

Here’s what you need to know:

  • How it works

    Server logic executes on the server, keeping it hidden from browsers and protected by web roles and table permissions. You can author and validate code in Power Pages Studio and Visual Studio Code, with all logic stored in Dataverse for consistent lifecycle management and deployment.

  • What you can do

    Server logic lets you securely connect to external services and APIs, perform data operations or transformations, and return processed results to your Power Pages — all while simplifying authentication and boosting integration flexibility.

  • Why use Server Logic

    Gain enhanced security, integration flexibility, improved efficiency, and centralized maintenance — all while ensuring consistency across your Power Pages environment.

  • Language supported

    Write native JavaScript that complies with the ECMAScript 2023 standard.

  • Other information

    Server logic execution follows configured permissions — governed by web roles and table access. Authentication and authorization are managed automatically, so there’s no need for custom authentication code.

Keep your organisation’s information safe and secure with Secret Vault. Contact us today to learn more!