cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mobicycle
Resolver I
Resolver I

Step by step on GitHub Codespaces and Power Platform CLI Extension

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 Po...

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.

1 ACCEPTED SOLUTION

Accepted Solutions
mobicycle
Resolver I
Resolver I

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"

View solution in original post

3 REPLIES 3
ragavanrajan
Super User
Super User

Hi @mobicycle 

 

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.

mobicycle
Resolver I
Resolver I

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

 

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

mobicycle
Resolver I
Resolver I

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"

Helpful resources

Announcements
Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Users online (23,824)