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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Visual Studio 2019 D365 Plugin Deployment Error: Deploy or Update operation Failed

(0) ShareShare
ReportReport
Posted on by 1,589

I am trying to deploy a plugin via Visual Studio 2019 but it fails to deploy with only the following message: 

Deploy or Update operation Failed.

The full log can be seen below. 

Begining CRM Deployment at 4:27 PM

================= Starting Register Plugins and Workflows Task =================

Loading registration information

Successfully loaded registration information

Deploying (inital) Plugin assembly JobWODateCorrector.JobWODateCorrector.PostOperationcpp_jobUpdate

Deploy or Update operation Failed. Elapsed Time: 00:00:02.2309127

Completed CRM Deployment - Deploy Result: Failed - Ended At 4:27 PM - Elapsed Time: 00:00:02.3342620

pastedimage1612372986445v2.png

Any thoughts, ideas, or recommendations would be greatly appreciated!

I have the same question (0)
  • Suggested answer
    ACECORP Profile Picture
    1,589 on at
    RE: Visual Studio 2019 D365 Plugin Deployment Error: Deploy or Update operation Failed

    I fixed this by doing the following.

    1. Set the build location back to the default settings.
    2. Added a reference to the correct .dll in the CrmPackage references area as shown below. 
    3. Then a cleaned the build, and re-built, then re-attempted deployment and it deployed to completion

    Screen-Shot-2021_2D00_02_2D00_03-at-2.01.54-PM.png

  • Nya Profile Picture
    29,060 on at
    RE: Visual Studio 2019 D365 Plugin Deployment Error: Deploy or Update operation Failed

    Hi, Jim

    It's great to hear that the problem is fixed. Your solution will help others and this case will be closed.

    Best Regards

    Nya

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 77 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 66 Most Valuable Professional

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 48

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans