Hello mates,
I'm configuring deployment pipelines in Azure DevOps between Power Platform environments: DEV -> UAT -> PRO.
The project consists of several solutions, some PCFs and a Plugin.
I have already get to work the pipeline to successfully deploy all the solutions and the PCF Contros.
The problem comes with the plugin, when creating it for the first time in the target environment.
I use following commands:
pac auth create -u $(AuthEnvironmentUrl) -n $(AuthProfileName) --applicationId $(AuthApplicationId) --clientSecret $(AuthClientSecret) --tenant $(AuthTenantId)
pac plugin push -id $(PluginId) -pf $(System.DefaultWorkingDirectory)/Build/drop/Plugins/$(PluginProjectName)/bin/debug/$(PluginName) -t Assembly
But when the plugin doesn't exist, it obviously gives me an error because it can't find the plugin with that Id
Error: pluginassembly With Id = 00000000-0000-0000-0000-000000000000 Does Not Exist
Does anyone know if a plugin can be registered for the first time from the CLI or through some tool that I can hook into DevOps pipeline?
Thank you
David