Announcements
I'm planning to persuade MS365 admin in my company to turn on the code component on Power Apps.
So I want to restrict to the admin and me(developer) to adding code component due to that have security risk.
Hi @Tsujimoto,
Code components for Canvas Apps can be toggled on or off in the environment settings and cannot be granularly controlled at a user level.
To meet your scenario, a Developer can work in their own isolated development environment that other users don't have access to, and the admin can enable code components in that environment.
---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.
@ChrisPiasecki Thank you to your answer.This is exactly what I need to do.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 342 Super User 2026 Season 2
M Bilal Khan 258
Mohsin Ali 231