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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

What is the best way to bring Plugin Assembly & SDK Messages from Sandbox to Production?

(0) ShareShare
ReportReport
Posted on by 10
  1. Should we register our Plugin with Plugin Registration Tool on Production Server.
  2. Can we import Plugin dll in Solution? Do we have to import SDK Messages too?
  3. Would just importing Solution in Production work or do we have to register our Plugin on Production separately. 

    If we bring a new version of a Plugin via Solution, and we notice that it doesn't work, by disabling the neuer Solution, would the old Plugin automatically activated?

     

    What is the statndard way to do it.

  • Suggested answer
    Adrian Begovich Profile Picture
    1,032 Moderator on at

    Hi Jay2008,

    This article explains the best way to deploy a plugin.

  • Suggested answer
    Pawar Pravin Profile Picture
    5,237 on at

    Hi Jay,

    As per my information it would be better if use solution deployment from sandbox to production.

    Please refer below url for more details:

    carldesouza.com/.../

    community.dynamics.com/.../439517

  • Verified answer
    Mustajab Profile Picture
    40 on at

    There is already one article on the Dynamics community please check if it helps.

    Just to summarize the deployment practice on production. Please keep the below-mentioned prereq in mind,

    • Always deploy managed solutions. 
    • As per standard practice create (open this Article)
      • We can create separate solutions for each region. This help in better management when multiple devs are working
        • MetaData (Form, view, or entity properties)
        • Plugin (containing plugins, JS, workflow activity)
        • Security Roles
        • Reporting
        • Ribbon
        • Apps (if we have model-driven or canvas apps)

    Should we register our Plugin with Plugin Registration Tool on Production Server.

    I would suggest not to do that. As for production, the best way is to do solution deployment from UAT. Making sure that these two environments (Prod and UAT) are always synced. There is no harm in doing plugin registration directly on production but it will take additional time. Keeping in mind that production deployments are always short on time.

    Can we import Plugin dll in Solution? Do we have to import SDK Messages too?

    Yes, we have to take SDK messages as they contain the steps and pre or post messages in some cases. 

    Would just importing Solution in Production work or do we have to register our Plugin on Production separately.

    No need if we did it via solution. Just make sure we publish it. 

    If we bring a new version of a Plugin via Solution, and we notice that it doesn't work, by disabling the neuer Solution, would the old Plugin automatically activated?


    Always take a backup. As solution deployment, if managed to delete it will delete the plugin. In case if unmanaged deleting it wont be of any help. There is no disabling option in solutions (least at the time of writing this reply :) ). Use code repository (TFS, GitHub, DevOps, etc) if we are doing deployment directly to restore the last working state.  

  • Jay2008 Profile Picture
    10 on at

    Thank you very much, I liked your answer very much and helped me.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Travis South Profile Picture

Travis South 54

#2
11manish Profile Picture

11manish 37 Super User 2026 Season 2

#3
ParthPatel249 Profile Picture

ParthPatel249 33

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans