Pragmatic Works Nerd News

Using Visual Studio Code with Power Pages using the Power Platform Tools Extension

Written by Brian Knight | Nov 30, 2026

In this video, Brian Knight from Pragmatic Works demonstrates how to elevate Power Platform development skills by integrating Visual Studio Code (VS Code) into the workflow. He explains how this free Microsoft tool allows users to access, edit, and manage the underlying code of Power Apps and Power Pages projects, enabling more efficient bulk updates and advanced customization.


Introduction to Visual Studio Code for Power Platform

Brian Knight begins by introducing Visual Studio Code as a powerful and free development environment provided by Microsoft. Unlike traditional interfaces within Power Platform, VS Code allows developers and analysts to interact directly with the underlying code of their applications.

This capability is especially useful for:

  • Making bulk changes across applications
  • Editing HTML and YAML configurations in one place
  • Improving efficiency with advanced editing tools like IntelliSense

Why Use VS Code with Power Platform?

Brian highlights several key advantages of using Visual Studio Code:

  • Bulk Editing: Easily replace elements such as fonts, colors, or styles across the entire application.
  • Code Visibility: Access the underlying HTML and Liquid code used in Power Pages.
  • Improved Workflow: Avoid navigating multiple screens in the traditional interface.
  • IntelliSense Support: Get real-time suggestions and auto-completion while coding.

Step-by-Step Setup Process

The video walks through a structured process to connect VS Code with a Power Platform environment. The steps include:

  1. Download and Install VS Code:
    • Visit the official Microsoft website
    • Select your operating system and install the tool
  2. Install Power Platform Tools Extension:
    • Open VS Code and navigate to the Extensions panel
    • Search for “Power Platform Tools”
    • Install the official Microsoft extension
  3. Open Terminal and Prepare Workspace:
    • Create or navigate to a project directory
    • Use terminal commands to manage files and connections
  4. Connect to Power Platform Environment:
    • Retrieve the Dataverse URL from Power Apps or Power Pages
    • Authenticate using your Microsoft account
  5. Retrieve Portal List:
    • Run commands to display available portals
    • Copy the desired portal ID
  6. Download Portal Content:
    • Specify a local folder path
    • Download all portal files from Dataverse

Editing Power Pages in VS Code

After downloading the portal content, Brian demonstrates how to open the project folder in VS Code. Users can now:

  • View all project files in one interface
  • Edit HTML pages and configurations
  • Work with Liquid code for dynamic content rendering

He emphasizes how much easier it is to edit content compared to the traditional Power Pages interface. Instead of navigating multiple screens, developers can update everything in a single editor.

Making Changes and Uploading Updates

Brian walks through an example of modifying a webpage:

  • Edit the HTML or Liquid code in VS Code
  • Save the changes locally
  • Use terminal commands to upload updates back to the portal

Once uploaded, users can return to Power Pages and click the Sync button to reflect the updates in the live environment.

Benefits of This Approach

By integrating Visual Studio Code into the Power Platform workflow, users gain:

  • Faster development and editing processes
  • Greater control over application structure and design
  • Enhanced productivity through automation and scripting
  • A more developer-friendly environment

Conclusion

Brian Knight concludes that using Visual Studio Code with Power Platform significantly improves efficiency and flexibility. Whether making small edits or large-scale updates, this approach provides a streamlined and powerful way to manage Power Apps and Power Pages projects.

Pragmatic Works offers additional training, bootcamps, and hands-on learning opportunities for professionals looking to deepen their expertise in Power Platform and related Microsoft technologies.

 Don't forget to check out the Pragmatic Works' on-demand learning platform for more insightful content and training sessions on Power Platform and other Microsoft applications. Be sure to subscribe to the Pragmatic Works YouTube channel to stay up-to-date on the latest tips and tricks.