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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Restrict access of pow...
Power Apps
Unanswered

Restrict access of powerapp code to users.

(0) ShareShare
ReportReport
Posted on by 71

Hi,

I am deploying power apps code in client's environment. I have created an App in one of the user account of client.

I dont want this code to be visible to anyone including the user. How can I protect this code so that client doesnt see it?

Please help.

 

Regards,

Mayuri

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    Hi @MAYURIV ,

    GLWT (good luck with that) - Seriously,  that is one of the weaknesses of this platform when you migrate an app into another environment - at least one user in the Tenant needs to have ownership and by default full edit rights (and subsequent vision of the code). You could of course organise an account for yourself, but ultimately a Global Administration can reset the password on that. You cannot password the file (as you can do in MS Access and many others), and the IP comes down to what the client is prepared to sign. Looking at your code of course is a different story to them on-selling it (which you should protect if possible).

    I actually go the other way and train the client users to do most of the maintenance themselves.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • MAYURIV Profile Picture
    71 on at

    Thanks Sir for your prompt reply!

    Bad luck on our part that we cannot hide the code or protect it. 

    Hopefully in future, Power Apps do something to overcome this issue.

  • WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    Hi @MAYURIV ,

    Unfortunately I do not think so - the whole concept of Power Apps is low-code "open source" that is not compiled and runs on a standard inclusion in Office365, with the ownership residing with (at least one) licenced user in the Tenant. You can of course negotiate any IP ownership the client is prepared to sign (to prevent them - legally at least - from on-selling).  The problem however is that anyone can Google/Bing search or ask on this forum how to code almost anything. Microsoft documentation is also fairly extensive on most things.

    Is it your intention that the client would rely on you going forward for any changes or enhancements/additions - making you a Single Point of Failure and able (from their point of view)  to dictate terms ? As mentioned, I insist on training at least one user on the basics before implementing, then providing any ongoing training necessary.

  • MAYURIV Profile Picture
    71 on at

    As you told the code can be learnt easily, We have the fear that customer will learn and understand the code easily. By this, they will not have to depend on us for future projects. They would built it by themselves.

    Yes, your point is good. We can go for copyright or something.

  • WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    Hi @MAYURIV ,

    Yes we have very different business models - I understand that the customer not only can, but generally wants to manage the app ongoing and as they can see the code, can also easily employ another developer to do enhancement (who may well copy it), so why fight it ? If you offer training, I can tell you that you mostly end up doing any major changes anyway and the small routine items often form training.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard