Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Answered

Step by step on GitHub Codespaces and Power Platform CLI Extension

Like (0) ShareShare
ReportReport
Posted on 12 Jan 2022 21:23:53 by

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.

  • Verified answer
    Community Power Platform Member Profile Picture
    on 24 Jan 2022 at 10:21:32
    Re: Step by step on GitHub Codespaces and Power Platform CLI Extension

    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"
  • Community Power Platform Member Profile Picture
    on 12 Jan 2022 at 23:25:09
    Re: Step by step on GitHub Codespaces and Power Platform CLI Extension

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

     

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

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on 12 Jan 2022 at 22:57:06
    Re: Step by step on GitHub Codespaces and Power Platform CLI Extension

    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.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started