Implement more PowerPlatform commands
With the advent of hacktober fest and our ambition to create a set of new good first issues following a list of commands we need for the Power Platform, a first 'shot' at it below. Lets gather additional requests in this issue and create new issues based on them.
Good first issues
Issues that should be relatively easy since we already have some of the stuff in place
- [x]
m365 pp environment get, see #3710 - [x]
m365 pp gateway getsee #3728 - [x]
m365 pp solution listsee #3711 - [x]
m365 pp tenant settings listsee #3657
The following are straightforward but require a little bit of research for the exact URL's, with some investigation from our side we can make them as 'good first issue', ordered by amount of work to spec:
- [x]
m365 pp solution listsee #3711 - [x]
m365 pp solution getsee #3722 - [x]
m365 pp solution removesee #3723 - [x]
m365 pp solution publishsee #3805 - [x]
m365 pp solution publisher addsee #3977 - [x]
m365 pp solution publisher listsee #3766 - [x]
m365 pp solution publisher getsee #3949 - [x]
m365 pp solution publisher removesee #3950 - [x]
m365 pp solution publisher addsee #3977 - [x]
m365 pp dataverse table listsee #3653 - [x]
m365 pp dataverse table getsee #3726 - [x]
m365 pp card list#3767 - [x]
m365 pp card get#3770 - [x]
m365 pp card remove#3781 - [x]
m365 pp card clone#3790 - [x]
m365 pp dataverse table remove#4031 - [x]
m365 pp dataverse table row listsee #3791 - [x]
m365 pp dataverse table row removesee #4030 - [ ]
m365 pp dataverse table row set - [ ]
m365 pp dataverse table row move(to associate with other table?) - [ ]
m365 pp dataverse table row merge - [ ]
m365 pp dataverse table row add - [ ]
m365 pp dataverse table column list - [ ]
m365 pp dataverse table column get - [ ]
m365 pp dataverse table column remove - [x]
m365 pp chatbot list#3650 - [x]
m365 pp chatbot get#4107 - [x]
m365 pp chatbot remove#4106 - [ ]
m365 pp solution add - [ ]
m365 pp solution setto set the publisher, version and description - [ ]
m365 pp dataverse table businessrule list - [ ]
m365 pp dataverse dataflow list - [ ]
m365 pp dataverse dataflow get - [ ]
m365 pp dataverse dataflow remove - [ ]
m365 pp dataverse connection list - [ ]
m365 pp dataverse connection get - [ ]
m365 pp dataverse connection remove - [ ]
m365 pp dataverse customconnector listvalidate if we need customconnector or connector - [x]
m365 pp aibuildermodel list#4174 - [x]
m365 pp aibuildermodel get#4325 - [x]
m365 pp aibuildermodel remove#4326 - [ ]
m365 pp dataverse connection list - [ ]
m365 pp dataverse connection get - [ ]
m365 pp dataverse connection remove - [ ]
m365 pp website list#6256 - [ ]
m365 pp website get#6259 - [ ]
m365 pp website remove#6257 - [ ]
m365 pp website webfile list#6262 - [ ]
m365 pp website webfile add - [ ]
m365 pp website webfile remove - [ ]
m365 pp website webfile get#6273 - [ ]
m365 pp website weblink list#6269 - [ ]
m365 pp website weblink add - [ ]
m365 pp website weblink remove - [ ]
m365 pp website weblink get#6277 - [ ]
m365 pp website webrole list#6281 - [ ]
m365 pp website webrole add - [ ]
m365 pp website webrole remove - [ ]
m365 pp website webrole get
Needs research to execute more complex Dynamic Queries first
- [ ]
m365 pp data export(seepac data export) - [ ]
m365 pp data import(seepac data import) - [ ]
m365 pp connector list(seepac connector list) - [ ]
m365 pp connector get(see `pac connector download) - [ ]
m365 pp dataverse query-> we need to figure out if we do a generic query and pass the table + query or if we need other advanced scenario's. See https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/query-data-web-api - [ ]
m365 pp dataverse webresource list - [ ]
m365 pp dataverse webresource get - [ ]
m365 pp dataverse webresource export - [ ]
m365 pp dataverse webresource import - [ ]
m365 pp website webfile preview - [ ]
m365 pp website webfile sync
Needs research for what API to use (most likely easy as it is part of the PowerShell or PAC)
- [x]
m365 pp tenant settings set#4572 - [x] Touch base for
pa app consent set#2420 - [ ] pipelines options (list / get / edit/set/ remove)
- [ ] Create and manage webfiles: https://learn.microsoft.com/en-us/power-pages/configure/web-files
- [ ] CRUD for pages
V2 release
- [ ]
pp solution export - [ ]
pp solution import
V3 release
- Support gov cloud environments, some research available in #2961 Let's look at: https://powerapps.microsoft.com/en-us/blog/automate-deployments-with-power-platform-pipelines-now-in-preview/leuk
What about pp solution export and pp solution import?
@martinlingstuyl would be a great addition, but already part of the pac cli, so my vote would be to prioritize them last and focus on the stuff that's not there yet.
That's fine with me!
Adding them to the epic would still be good though
Done :D
I'd love to see commands like the below to improve the inner dev loop when working on web resources. This would save having to use other [still great] tools like spkl from Scott Durow and XrmToolBox plugins.
-
pp dataverse webresource list -
pp dataverse webresource get -
pp dataverse webresource export -
pp dataverse webresource import
Each with options to provide a --solution and --environment amongst other options.
Unsure whether it would be better placed under pa webresource list, given web resources are generally used in model-driven Power Apps. Or possible via pa solution webresource [list/get/export/import] given that pa solution uses a solution project in the current directory.
Thoughts? I'd love to contribute to the design/dev if you think there would be interest.
@ryanspain that totally makes sense, feels like we should put them under our dataverse command as from what I know a web resource is stored in the dataverse database and thus feels 'correct' to group under there.
We would love to have them specced. I have added them to the epic and feel free to spec out!.
Note to self: https://learn.microsoft.com/en-us/power-automate/web-api we can use this to retrieve flows as well :)
@nicodecleyre since you already did some awesome work with #4174 would you mind giving speccing the get and remove versions a stab as well? Looks like our full list is almost complete so would be awesome!
@nicodecleyre since you already did some awesome work with #4174 would you mind giving speccing the
getandremoveversions a stab as well? Looks like our full list is almost complete so would be awesome!
Done!
- [ ] #4325
- [ ] #4326
@nicodecleyre since you already did some awesome work with #4174 would you mind giving speccing the
getandremoveversions a stab as well? Looks like our full list is almost complete so would be awesome!Done!
* [ ] [New command: `m365 pp aibuildermodel get` #4325](https://github.com/pnp/cli-microsoft365/issues/4325) * [ ] [New command: `m365 pp aibuildermodel remove` #4326](https://github.com/pnp/cli-microsoft365/issues/4326)
Included them in the specs of this epic