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 / Environment Variable n...
Power Apps
Unanswered

Environment Variable not found in solution even though it is working in other solution apps

(0) ShareShare
ReportReport
Posted on by 50

I have a solution with 7 apps or so. I reference a SharePoint list to make sure the user is using the most up to date version. In all the other solution apps, they can reference the list using the SharePoint Connection just fine. But one app is failing. It works in the unmanaged solution in the dev environment. But importing it as a managed solution, the one app will not open with the following message. This is a mission critical app. Any ideas?


cscit_0-1706660276868.png

 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,968 Super User 2026 Season 2 on at

    Hello @cscit ,

     

    It sounds like the variable its referencing is not correct. I would go to the Default solution, look at that Environment Variable and its value.

     

    I would then quadruple check that

    1) the other apps really are using that

    2) that there are no other conflicting ones

    3) that there isnt any issues with permission / sharing 

    4) verify the internal name of the variable compared  to that message and the app

    5) I would verify that for that app, what the GUID is by looking under Apps / Details

     

    if the guids dont match then someone  may have changed the app (yes even as managed) which did something to change its URL so the name / ID dont match


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • cscit Profile Picture
    50 on at

    All good steps. I removed the SharePoint connection from the app, and then published it and imported it into the production environment. It is working again (although without the SharePoint connection obviously). Since it is EOD, I'll have to come back to it tomorrow. I did verify the environment variable was in the managed solution though using the name from the error and it is the same variables the other apps use. I'll work on it again tomorrow.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard