Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Solution Import failing for PluginTypeExportKey is not found.

Like (2) ShareShare
ReportReport
Posted on 12 Feb 2025 14:00:39 by 17
First-time solution import went fine.
Removed all the plugin steps.
Now trying to reimport and facing this issue.
SDK Message Processing Steps import: FAILURE: A record for PluginType with hash value XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX for PluginTypeExportKey is not found. Please try again with correct value
 
Error code
 
Any suggestion?
Categories:
  • Suggested answer
    CU14020600-0 Profile Picture
    2 on 14 Feb 2025 at 06:10:08
    Solution Import failing for PluginTypeExportKey is not found.

    Issue and Resolution Summary

    I quickly discovered what was causing the issue. Sharing it here to help others avoid the same mistake.

    Background:
    I was using a dependent assembly package for the plugin assembly. The unpacked solution was checked into Git, and the build pipeline was repackaging it before deployment. However, the deployment was failing.

    Cause of the Issue:
    A required NuGet package from the unpacked solution was not syncing with Git from my local.

    Solution:
    I resolved the issue by updating my .gitignore file to include the specific NuGet package. After this change, everything worked as expected.

    Alternative Approach:
    This issue could also be resolved by configuring file mapping for the NuGet package in the build pipeline during the solution packaging process.

     
    Thanks @Holly Huffman your first suggestion was insightful.
  • Suggested answer
    Holly Huffman Profile Picture
    3,145 on 12 Feb 2025 at 23:20:17
    Solution Import failing for PluginTypeExportKey is not found.

    This error typically occurs when the system cannot find a record for the PluginType with the specified hash value.

    Apologies if you've tried these already, just thinking:

    • is the plugin assembly associated with the PluginType present in the target environment? If not, re-import the plugin assembly into the target environment before importing the solution.

    • could there be a mismatch between the PluginType in the source and target environments? validate the PluginType exists in the target environment and matches the one in the source environment.

    • any dependencies that might be causing the issue? verify all dependencies are present configured in the target environment.

    • all else fails - try cleaning up the target environment by removing any remnants of the previous import and then re-importing the solution

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans
Loading complete