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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Importing Solution wit...
Power Apps
Unanswered

Importing Solution with Full Trust

(1) ShareShare
ReportReport
Posted on by 2

Hi-

 

I'm trying to import a solution from On Premise into our Power Platform environment. However, I'm getting the error on import that the plugins cannot be registered in full-trust mode, and must be registered in isolation (sandbox). Is there any way around this?

 

Thanks,

Brennan Phoenix.

Categories:
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @Brennan_Phoenix 

     

    Full trust C# Plugin is not supported in online version of CRM instance, only what is called Partial Trust, or Sandboxed registration mode of C# plugin for online. Full trust is only allowed in on-premise CRM instance. The error probably showed up because when the C# Plugin was registered in on-premises CRM, it was registered as Full Trust.

     

    I believe this was the case from a very long time. So when you try to import into Dataverse this is still the same thing even now, the rules are still the same in this regard.

     

    There is really not any way around it except to exclude the Plugins from the import perhaps and then import them separately on a second pass. You could also try re-registering the Plugins as Partial Trust in the source, exporting to solution, and then re-importing. The fact that the Plugins were full trust, and also even just that they come from an on-premises environment means that you need to check them very carefully, the functionality is not guaranteed to work in Dataverse in the cloud without potentially a partial to complete rewrite of the Plugins (or implementation of an equivalent another way like Power Automate, etc). The infrastructure of Dataverse is already now quite different from what you may know as "Dynamics 365" or "Dynamics CRM" (that is both the on-premises and even the previous "cloud" variants of Dynamics 365 / CRM) and this may need to be taken into consideration. With that said, you should still be able to import the solution including the Plugins with success - check if the above helps.

  • ChrisPiasecki Profile Picture
    6,428 Most Valuable Professional on at

    Hi @Brennan_Phoenix,

     

    Plugins in Dataverse or Dynamics 365 online can only run in sandboxed mode. If you need to perform business logic that can't be executed in sandboxed mode, consider moving that business logic outside of the plugin process to something such as an Azure function, and then calling that function from your plugin. 

     

    If your business logic does not need to run synchronously, you should strongly consider using Power Automate or Logic Apps. 

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard