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

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Issues Importing a Solution With OR Without Env Vars

(0) ShareShare
ReportReport
Posted on by 134

I have a Solution with a canvas app and multiple flows. The solution initially has the Power Apps setting "add env vars when new data sources added" turned ON. Then I determined I will reuse one the SP lists rather than manage a DEV version and a PROD version so if there is a change, I wouldn't have to change it in two places. 

So I updated the Power Apps setting "add env vars when new data sources added" to be turned OFF and I removed (not deleted) the env vars from the Solution. I tried to import it into my PROD env and I got the message shown below like it was expected env vars.  Then I changed "add env vars when new data sources added" back to ON removed and added back data sources, exported Solution and tried again and I got the same dead end screen also shown below.
Import Solution Issue Env Vars.png
At this point, I'm not sure how to proceed to fix this import issue. Any recommendations are appreciated.

Categories:
I have the same question (0)
  • SebS Profile Picture
    4,440 Moderator on at
    Re: Issues Importing a Solution With OR Without Env Vars

    @zoso2112 

     

    With flows You need to establish connections on top of environment variables :

     

    If your flows using any connections to teams, SharePoint lists  or outlook you need to add them.

     

    SebS_1-1713199465227.png

     

    After You add them you need to go to each flow and replace connection in each action to the new connection

     

    Something like this :

     

    SebS_2-1713199605363.png

     

    After You complete this all it should allow you to import the solution to production.

     

  • nhurst05 Profile Picture
    19 on at
    Re: Issues Importing a Solution With OR Without Env Vars

    I just started getting the same dead end when trying to move a new solution to production. Before today, when moving a new solution into production, the import wizard would supply the needed information to tie the connection reference inside the solution to the connector in the environment. Now, it's just blank.

     

    nhurst05_0-1713201304506.png

     

  • zoso2112 Profile Picture
    134 on at
    Re: Issues Importing a Solution With OR Without Env Vars

    @SebS - Thank you for your response. 

    I stopped using env vars in my flows months ago after multiple instances of issues occurred and it was more trouble than it's worth. So my env vars are strictly used for the data sources in the canvas app. 

    Before exporting my solution, I always perform the "Add required objects" for the canvas app and the flows.  This ensures all required connections are part of the solution.  

    No what I've tried today, with or without env vars I reach the dead end screen in my PROD env and the Solution cannot be imported since the Import button is grayed out. It's interesting another user, @nhurst05 is experiencing the same issue. 
    Import Solution Issue Env Vars.png

  • zoso2112 Profile Picture
    134 on at
    Re: Issues Importing a Solution With OR Without Env Vars

    @nhurst05 - Have you been able to resolve this issue?  I'm not sure if it's a temporary issue but I'm not sure what action I can take to resolve this. 

  • nhurst05 Profile Picture
    19 on at
    Re: Issues Importing a Solution With OR Without Env Vars

    I have not. Still experiencing the inability to resolve the connection update requirement during the solution import.

  • zoso2112 Profile Picture
    134 on at
    Re: Issues Importing a Solution With OR Without Env Vars

    Thank you. I will let you know if I get it resolved. 

  • nhurst05 Profile Picture
    19 on at
    Re: Issues Importing a Solution With OR Without Env Vars

    Thanks for your help! I will do the same if we figure it out.

  • zoso2112 Profile Picture
    134 on at
    Re: Issues Importing a Solution With OR Without Env Vars

    To provide a few additional details, I originally had Solution #1 which only used env vars for the data sources in the canvas Power App.  I successfully exported the solution (DEV  env) but as stated I could not import to the PROD env since the Import button was grayed out. 

    Next I removed all env vars from Solution #1 and updated the setting "add env vars when new data sources added" to OFF.  Then I removed and added back my data sources (all SP lists). I successfully exported the Solution but I could not import to the PROD env since the Import button was grayed out. 

    So I decided to remove all flows and the one canvas app from Solution #1 and then I deleted it. 

    I created a brand new Solution, Solution #2 and added the canvas app and flows. I successfully exported the Solution #2 but I could not import to the PROD env since the Import button was grayed out. 

    So I have experiencing this issue with two Solutions. Perhaps it is a Microsoft bug/issue? 

  • Verified answer
    zoso2112 Profile Picture
    134 on at
    Re: Issues Importing a Solution With OR Without Env Vars

    @nhurst05 - I resolved the issue by deleting the browser's cache. After relaunching a new browser window (post cache deletion) and importing the Solution again, I saw the updated screen shot below. I clicked the "review and adjust all connections" option to ON. 

    Import Solution Issue Env Vars FIXED 1.png

    I reviewed the connections and clicked Next and the Solution successfully imported into my PROD env. 

    Import Solution Issue Env Vars FIXED 2.png

    I hope this resolves your issue as well. 

  • nhurst05 Profile Picture
    19 on at
    Re: Issues Importing a Solution With OR Without Env Vars

    This resolved my issue as well. Thanks for passing along!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 671 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 424 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 243

Last 30 days Overall leaderboard