Skip to content

SrBlackVoid/PowerPlatform.Toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerPlatform.Toolbox

This module contains some helpful commands that I have used on a regular basis to drastically speed up processes related to ALM in Power Platform.

Commands

New-PACDeployConfig

For those of you who are using either PAC CLI or Power Platform Build Tools to handle solution imports, this command analyzes your solution and generates a new deployment settings file, filling in environment variable values and connection IDs specific to your target environment. You can reference either a solution in a Power Platform environment, a solution ZIP file, or the root path of a solution's unpacked files.

Notes and Limitations

  • For environment variable values, it will use the default values from your solution unless you specified the same environment for your source and target, in which case it will reference current values (if set).
  • It can only handle one specified account for the connections. If your solution utilizes connections from multiple accounts, you will need to complete the rest on your own (or run it again with the other accounts and do some merging).
  • It can handle custom connectors across environments, provided the custom connector was exported/imported via solution to the target environment (this retains the same root ID between environments)
    • I also add a general practice of setting the connection's display name to contain the solution name somewhere in it (so I know what uses it and what auth is associated with it), so this function looks for that in the target environment. If that is not the case, it will select the first match it finds (but will warn you).

Get-CustomConnectorDefinition

This command simplifies the process of downloading the definition files for a custom connector from a selected environment. Pretty straightforward.

Deploy-CustomConnector

Quickly and easily deploy your custom connectors from your repositories. Has the option to push new ones or update existing ones, and to push them into a solution in the environment (fairly common practice to have a custom connector repository solution present).

Notes and Limitations

  • Obviously, you cannot push a new custom connector into a managed solution. My usual method is to add the connector to the unmanaged version and export/import that into your target environment.

Requirements

Notice

While I do actively use these commands in my own work, this is still very much a work in progress, and subject to potential changes in the Power Platform CLI.

About

PowerShell module w/ commands to assist in ALM processes for Power Platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published