I exported a powerapp from a dev tenant I don't have anymore, when I requested a new dev tenant I tried importing the app.
It keeps failing when importing the flow part.
Is there a way to edit the json file to skip that step or take the whole flow part out of the import?
I deleted the flow folder but that didn't do the trick.
This is the error I get:
Solved! Go to Solution.
The export will produce a zip file in it. In that zip file will be a manifest.json file. Although I have never had a need to modify it, it would seem feasible to remove the dependency to the flow.
You'd need to scroll through that file and find the record for the flow and remove it and then make sure you take note of the guid for that flow and remove that from the dependency list.
If you just want the app itself, in that zip file you will find a Microsoft.PowerApps folder. In that is an apps folder. In that folder you will find some long number folder, and in that folder you will eventually find a GUID named file with an MSAPP extension. That is the app!
If you pull that out and then open it (not import it, but open) in the designer...that will be the app. You will have bunches of errors because none of the dependencies will have been brought in, but you will have the app.
I hope this is helpful for you.
If the app has an associated flow, are you exporting/importing a Solution or just the app on its own? A Solution would work much better.
Bryan
It's a app not a solution. I don't have access anymore to the tenant so is there a way to skip the flow part or change the json file?
Well, I think there's a way around this, but haven't done it myself. Ready for an adventure?
We can directly edit the json files for the app using VS Code. You'll start by downloading that IDE plus the extensions for Power Apps. Then, import your app so we can look at the raw files.
I am also calling in some help to see if they can provide some advice: @RandyHayes , @StalinPonnusamy , @ChrisPiasecki
Fellas, this Maker has an app with a dependent flow (not in a Solution) that is failing on import, probably due to the non-existent flow reference in their target environment. Other than editing the source files, can you think of another way around this? If we have to edit source files, do you know which fields this Maker will need to edit to get something that will import? In the end, they will need to recreate/reconnect the SharePoint List and flow too.
Bryan
The export will produce a zip file in it. In that zip file will be a manifest.json file. Although I have never had a need to modify it, it would seem feasible to remove the dependency to the flow.
You'd need to scroll through that file and find the record for the flow and remove it and then make sure you take note of the guid for that flow and remove that from the dependency list.
If you just want the app itself, in that zip file you will find a Microsoft.PowerApps folder. In that is an apps folder. In that folder you will find some long number folder, and in that folder you will eventually find a GUID named file with an MSAPP extension. That is the app!
If you pull that out and then open it (not import it, but open) in the designer...that will be the app. You will have bunches of errors because none of the dependencies will have been brought in, but you will have the app.
I hope this is helpful for you.
This worked, thanks for the help!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
User | Count |
---|---|
203 | |
106 | |
56 | |
51 | |
41 |
User | Count |
---|---|
267 | |
156 | |
83 | |
81 | |
56 |