Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

Can I remove or disable a plugin from a managed solution?

(0) ShareShare
ReportReport
Posted on by

I'm building a solution that will be sold to other businesses outside AppSource as a managed solution.

I'm planning to add to the solution a custom Plugin for authentication reasons, and I need to ensure that final customers can't tamper with that, like replacing the dll or preventing it from firing. Can a managed solution provide me with that guarantee, or should I look elsewhere?

 

Thank you,
Davide

  • Community Power Platform Member Profile Picture
    on at
    Re: Can I remove or disable a plugin from a managed solution?

    Got it! So since my solution is entirely self-contained in Dataverse, and the only purpose of the plug-in would be to authorize the Dataverse transaction itself (I don’t have any specific logic to add or protect), I assume I should search elsewhere.. 😕

     

    Thank you for your time! 🙏

  • Guido Preite Profile Picture
    1,488 Super User 2024 Season 1 on at
    Re: Can I remove or disable a plugin from a managed solution?

    The authorization/authentication must be associated to the logic of your solution.

    Back to my example, if the solution purpose is to calculate the sum of numbers, when the user disable the plugin (that will contact Azure) the sum will not be calculated so the solution doesn't work at all. If for example you have two plugins in the same message, one for the auth check, the other for the sum, the user can disable just the one with the auth check (or disassemble your plugin to skip the auth check).

    Tampering of plugins can be done

  • Community Power Platform Member Profile Picture
    on at
    Re: Can I remove or disable a plugin from a managed solution?

    Sure, I should not rely only on the plug-in. I was planning to do so, but the very fact that the plug-in can be disabled defeat the purpose of it, doesn’t it? Am I missing something? Please note that what I’m referring to is authorization of the internal Dataverse transaction itself..

  • Guido Preite Profile Picture
    1,488 Super User 2024 Season 1 on at
    Re: Can I remove or disable a plugin from a managed solution?

    user o non-user based metric, the checks should be done inside logic done outside a plugin (for example in Azure).

    Let's assume your solution does the sum of two numbers, currently you are doing 2+2=4 inside a Plugin (that can be disabled or disassembled), if you call an Azure function that accepts two numbers and return the value and inside there you check the authentication you did the first step (when the azure logic is called and how the authentication is done that are additional topics)

  • Community Power Platform Member Profile Picture
    on at
    Re: Can I remove or disable a plugin from a managed solution?

    Thank you very much @GuidoPreite!

    That’s unfortunate because all the solution I had in mind required some sort of plug-in to be present to pre-validate transactions.

     

    At risk of going out of topic, do you have any recommendations or suggestions regarding billing the customers on a non-user-based metric?

     

    Thanks!

  • Verified answer
    Guido Preite Profile Picture
    1,488 Super User 2024 Season 1 on at
    Re: Can I remove or disable a plugin from a managed solution?

    a managed solution will not guarantee that. A user can open Plugin Registration Tool and disable a plugin step also if it comes from a managed 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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 87 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 65 Super User 2025 Season 1

Overall leaderboard