Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

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

Posted on by 1,579

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!

  • Nya Profile Picture
    Nya 29,054 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

  • Suggested answer
    ACECORP Profile Picture
    ACECORP 1,579 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

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,645 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans