web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Step by step on GitHub...
Power Pages
Answered

Step by step on GitHub Codespaces and Power Platform CLI Extension

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello, I am looking for a guide on how to use the Power Platform CLI Extension with GitHub Codespaces. 

 

I would like to connect to my Portal app on Codespaces in the same way I would connect to my GitHub repo.

 

I would like to upload images to my Portal app.

 

Can anyone please summarize the steps?

 

1.) Create a repo in GitHub

2.) Open a Codespace in GitHub for the repo (requires Enterprise account)

3.) Install Power Platform Tools CLI Extension

4.) ?

 

References

Microsoft Power Platform support for GitHub Codespaces and Windows services for Linux | Microsoft Power Apps

Microsoft Power Platform CLI - Power Apps | Microsoft Docs

Creating a codespace - GitHub Docs

GitHub Codespaces · GitHub

 

Power Platform Extension for VS Code is in public preview, and works on Windows 10, Windows 11, Linux, and MacOS.

Categories:
I have the same question (0)
  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @Anonymous 

     

    This is not explored yet. (at least by me). The previous article I provided using CI/CD is tested. The maximum we can do is get our hands dirty on the Github codespace. 

     

    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The CI/CD pipeline connected easily to my GitHub repo.

     

    I didn't see how to connect Portals to the CI/CD pipeline.

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    PaPortal commands  

     

    The PaPortal commands help you update and manage Portal Application within your environment. The supported commands are as follows:  

     

    Screen Shot 2022-01-24 at 10.20.39 AM.png

     

    https://docs.microsoft.com/en-us/powerapps/developer/data-platform/cli/reference/paportal-command

     

    • pac paportal download --path "C:\portals" --webSiteId f88b70cc-580b-4f1a-87c3-41debefeb902
    • pac paportal list
    • pac paportal upload --path "C:\portals\starter-portal"

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 26 Super User 2026 Season 1

#2
Lucas001 Profile Picture

Lucas001 19 Super User 2026 Season 1

#3
CN-06091549-0 Profile Picture

CN-06091549-0 18

Last 30 days Overall leaderboard