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 / Power Platform - expor...
Power Apps
Answered

Power Platform - exporting solution that has a flow which uses an environmental variable

(0) ShareShare
ReportReport
Posted on by 54
I am trying to export a solution from my Dev environment, it contains a flow which uses an environmental variable. 
I have successfully imported the environmental variable into the Prod environment.
When I try to import the solution containing the flow I receive an error due to missing dependencies (see pic attached). In solution.xml (see below) it contains MissingDependency section,
I tried to remove and replace with "MissingDependency /" which results in it attempting to do the import and then failing mid-process. <MissingDependency> <Required type="EnvironmentVariableDefinition" displayName="new_SpecialBilling_SiteAddress" solution="Active" id.schemaname="new_SpecialBilling_SiteAddress" /> <Dependent type="29" displayName="GetDataURI" id="{035edacc-be9d-ed11-aad0-000d3a5c6b71}" /> </MissingDependency> Note: The environmental variable SpecialBilling_SiteAddress has been imported successfully into Prod previously. please advise,
error importing solution.jpg
Categories:
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @rcapone,

     

    Make sure that all of the dependencies such as Connection References, but also Environment Variables are also contained within your solution export. Go to your solution (in DEV), select 'Add Existing', 'More', 'Environment Variables', add the environment variable that is causing issues and try to import the solution into prod.

     

    If this solves your question, would you be so kind as to accept it as a solution.

    Thanks!

  • rcapone Profile Picture
    54 on at

    it turned out to be that the Connection Reference needed to be added - thanks 

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 356

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard