Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Solution Import failed showing A failure occured in CrmSecurity in 365 CRM Onpremise 9.0

(1) ShareShare
ReportReport
Posted on by 2,665

Hi All,

I am facing issues while trying to import a solution in other env its showing A failure occured in CrmSecurity in Plugin dll assembly.

What could be the issue am not able to get .

Again i created one more solution & added only Plugin assembly & sdk message steps & tried to import the solution still the same above error got.

73002614.Capture.PNG

54625.Capture1.PNG

[View:/cfs-file/__key/communityserver-discussions-components-files/117/importlog_5F00_PluginSolution_5F00_1_5F00_0_5F00_0_5F00_0.xml]

Any idea anyone ?

Thanks,

Jharana

  • Jharana Baliyar Singh Profile Picture
    Jharana Baliyar Singh 2,665 on at
    RE: Solution Import failed showing A failure occured in CrmSecurity in 365 CRM Onpremise 9.0

    Hi Bipin,

    Many thanks, yes the user which am trying that was just system admin not deployment admin so that is the problem am not able to import he solution with plugins.If solution contains only components like entities fields js & processes etc without plugin assembly dll & the steps then am able to import the solution.So to import plugin need to have deployment admin role.

    Thanks,

    Jharana

  • Verified answer
    Bipin D365 Profile Picture
    Bipin D365 28,961 Moderator on at
    RE: Solution Import failed showing A failure occured in CrmSecurity in 365 CRM Onpremise 9.0

    Hi,

    As per your log error is

    Action failed for assembly 'MIC-CRM.GroupCompliance.Plugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=227acc16950761b8': Assembly must be registered in isolation.

    Check below article for fix that error.

    crmbusiness.wordpress.com/.../

    www.eonesolutions.com/.../

    Make sure user who is deploying the solution is part of Deployment Administartor group. And he has system admin role as well.

    Please mark my answer verified if i were helpful

  • Jharana Baliyar Singh Profile Picture
    Jharana Baliyar Singh 2,665 on at
    RE: Solution Import failed showing A failure occured in CrmSecurity in 365 CRM Onpremise 9.0

    Hi David,

    Thanks for ur response. Am not sure about admin but i am able to access directly in server where plugin reg tool has been installed & there i can able to register the plugin assembly manually & steps also & its IFD env.

    Thnaks,

    Jharana

  • Jharana Baliyar Singh Profile Picture
    Jharana Baliyar Singh 2,665 on at
    RE: Solution Import failed showing A failure occured in CrmSecurity in 365 CRM Onpremise 9.0

    Hi Bipin,

    Thanks for the response. I have added xml file in above post.

    Please find the below logs :

    Solution

    Name PluginSolution

    Display Name Plugin Solution

    Description

    Version 1.0.0.0

    Package Type Unmanaged

    Publisher

    Name DefaultPublisherGroupCompliance

    Display Name Default Publisher for GroupCompliance

    Description Default publisher for this organization

    Email

    Website

    City

    Country/Region

    Street 1

    Street 2

    ZIP/Postal Code

    State/Province

    Phone

    Status Failure

    Message ###############################################################################################################################################################################################################################################################

    Progress [%] 50.00

    Duration [s] 1.8

    ActivityId [s] 73135a08-d019-4271-af5e-2384138a5193

    StartTime [s] 10/16/2020 07:26:46.382 (UTC) Coordinated Universal Time

    StopTime [s] 10/16/2020 07:26:48.194 (UTC) Coordinated Universal Time

    Thanks,

    Jharana

  • Verified answer
    David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: Solution Import failed showing A failure occured in CrmSecurity in 365 CRM Onpremise 9.0

    Is the source environment in the same CRM deployment (same set of servers), or a different one ?

    If it's a different environment, then there are several potential differences in the environments that could have an impact on this:

    • Are you a Deployment Admin in the destination environment
    • Where is the plugin assembly to be deployed ? If it's in the GAC or file, then you may have different file permissions in the environments that could affect this
  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,961 Moderator on at
    RE: Solution Import failed showing A failure occured in CrmSecurity in 365 CRM Onpremise 9.0

    Hi,

    Can you please Click Download Log FIle to download the log. Now open this Log in Excel to see the error message.

    https://www.xrme.net/2018/05/import-and-export-a-solution-from-dynamics-365/

    Once you have the detailed error. Please share it in this post to check this issue further.

    Please mark my answer verified if i were helpful

  • Jharana Baliyar Singh Profile Picture
    Jharana Baliyar Singh 2,665 on at
    RE: Solution Import failed showing A failure occured in CrmSecurity in 365 CRM Onpremise 9.0

    Hi Kishor,

    Updated the screen error in above.

    Thanks,

    Jharana

  • Kishor Kumar Profile Picture
    Kishor Kumar 3,702 on at
    RE: Solution Import failed showing A failure occured in CrmSecurity in 365 CRM Onpremise 9.0

    Hello Jharana,

    Could you please share any error logs or the screen shot for better understanding?

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,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans