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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Dynamics PluginAssembly Read Permission required for Execution - How to protect DLL from download?

(0) ShareShare
ReportReport
Posted on by

Hi Community,

we noticed that our end users have Read access on the PluginAssembly entity, which allows them to potentially download and decompile our plugin DLL to access our source code.

When we tried to remove the PluginAssembly Read permission from the user security role, we received the following error during plugin execution:
"Error while trying to get the assembly" ErrorCode: 0x80040224

As soon as we re-added the permission, the error was gone.

Our questions:

  1. Is the PluginAssembly Read permission truly required for plugin execution?

  2. Is there a way to allow plugin execution while preventing end users from downloading the DLL?

Any help or experience with this is greatly appreciated!

Thanks in advance!

Categories:
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    230 on at
    Is PluginAssembly Read required?
    Yes — mandatory for plugin execution
     
    Can you prevent DLL download while allowing execution?
    No — not via security roles or standard configuration
     
    Use best practice strategy
    • Restrict admin/customizer access
    • Use managed solutions
    • Obfuscate assemblies
    • Move critical logic to external APIs

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 107

#2
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 56 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans