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 / cannot set environment...
Power Apps
Answered

cannot set environment variable in managed solution

(0) ShareShare
ReportReport
Posted on by 217

I just exported my new model-driven app as a managed solution and installed it on my test environment. When I went to adjust my environment variables, I discovered that I couldn't.

halifaxious_0-1635337541753.png

Does that mean that environment variables can only be set during import and only if the current value was removed before export? What if the value needs to change at some point after import?

  • Ram Prakash Duraisamy Profile Picture
    5,891 Super User 2026 Season 1 on at

    Hello @halifaxious,

     

    As the solution is in MANAGED we cannot edit the Environment Variable. if it is with Unmanaged you can edit the environment variable in any place.

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

  • Verified answer
    halifaxious Profile Picture
    217 on at

    The point of environmental variables is that the "current value" is settable/editable after a managed solution is deployed.

     

    I figured out how to do it. Rather than trying to set my current value from inside the deployed solution, I have to set it from the Default solution. Not very intuitive, but it makes sense when I think about it.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Someone needs to give you a medal. This has been a thorn in my side for so long. I wish as a part of the import it just prompted you each time to set the value of all environment variables. Such a pain!

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 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard