Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

RE: Cannot update plugins in D365 v9 Online

Posted on by Microsoft Employee

Hi Red,

Is this still true as of May 2020?

I'm trying to export our On Prem plugins and WF assemblies to online. I understand that D365 online requires .NET 4.7.1, so I rebuilt the assemblies with .NET 4.7.1 and attempted to register on our On Prem environment so that afterwards I could export a solution to be imported online, but am getting the following error:

Unhandled Exception: System.ServiceModel.FaultException

Plug-in assembly does not contain the required types or assembly content cannot be updated.

Is my approach wrong?

I see that 4.6.2 is now required for On Prem at https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/write-plug-in#use-net-framework-462. In that case, how would I export our On Prem assemblies to online?

Thanks

  • Suggested answer
    RE: RE: Cannot update plugins in D365 v9 Online

    Hi MR,

    I split your thread to a new one as it doesn't look related to that old issue.  Usually when I see customer have that error, if you remove the existing assembly the new assembly should go in cleanly.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Cannot update plugins in D365 v9 Online

    So I tried registering with the v9 registration tool and got the same error. I tried using 4.6.2 and 4.7.1 so I think I've got a more rudimentary error. Will dig into this over the weekend.

  • sjbbaggie Profile Picture
    sjbbaggie 20 on at
    RE: Cannot update plugins in D365 v9 Online

    I seem to remember seeing this. Don't think it has anything to do with being onprem , you've compiled it to 4.7.1. Are you sure you have the latest plugin registration tool for v9? docs.microsoft.com/.../download-tools-nuget

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans