web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Register Dataverse plu...
Power Apps
Unanswered

Register Dataverse plugin from CLI

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Guido Preite Profile Picture
    1,488 Super User 2024 Season 1 on at

    there is a specific reason why you need to deploy directly the plugin using CLI instead of adding the Plugin (and the steps) inside the solution so you just move the solution instead?

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @davidlorenzo,

    As @GuidoPreite mentions, typically the best practices way to deploy plugin DLLs an registrations (aka steps) are thorugh Dataverse solution. You can package these up along with other customizations like apps, and tables. It's way simpler to deploy to a target environment and manage in your CI/CD pipeline.
    if you not using solutions at all, serious suggest to look into it to base all your changes not just plugins and export/import these solutioins to the target environment (Test, UAT, Prod).
    More on solutions: https://learn.microsoft.com/power-apps/maker/data-platform/create-solution
    and https://learn.microsoft.com/power-apps/developer/data-platform/introduction-solutions
    Hope this helps!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard