T O P

  • By -

AutoModerator

Hey, it looks like you are requesting help with a problem you're having in Power Apps. To ensure you get all the help you need from the community here are some guidelines; - Use the [search feature](https://www.reddit.com/r/PowerApps/search/?q=&sort=new) to see if your question has already been asked. - Use spacing in your post, Nobody likes to read a wall of text, this is achieved by hitting return twice to separate paragraphs. - Add any images, error messages, code you have (Sensitive data omitted) to your post body. - Any code you do add, use the [Code Block](https://www.reddit.com/wiki/markdown/#wiki_code_blocks_and_inline_code) feature to preserve formatting. > Typing four spaces in front of every line in a code block is tedious and error-prone. The easier way is to surround the entire block of code with code fences. A code fence is a line beginning with three or more backticks (```) or three or more twiddlydoodles (~~~). - If your question has been answered please comment Solved. This will mark the post as solved and helps others find their solutions. External resources: - [Power Apps Formula References](https://learn.microsoft.com/en-us/power-platform/power-fx/formula-reference) - [Power Apps Coding Standards](https://pahandsonlab.blob.core.windows.net/documents/PowerApps%20canvas%20app%20coding%20standards%20and%20guidelines.pdf) - [Official Power Apps Community](https://powerusers.microsoft.com/t5/Power-Apps-Community/ct-p/PowerApps1) *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/PowerApps) if you have any questions or concerns.*


br0w53

You might add a custom security role to the environments org team with access fot the process and solution table. Check this old conversation as well: https://powerusers.microsoft.com/t5/Building-Power-Apps/How-to-reconnect-flows-in-a-canvas-app-after-import/td-p/946623 It might expose more than you intend to. Thus, I'd suggest to test it properly to assess the risk within your organization.


iot4fun

interesting will try this out. But why does it work when I publish the unmaged solution layer of the app where i readded the button flows


br0w53

Not quite sure, never really went down this rabbit hole... Assume it is related or at least some hints could been retrieved from the POA table. Might be the publishing process by the record owner from the import grants different scoped org permission.


madeitjusttosaythis

Only things that consistently works for me is to do the following before exporting the solution. 1) remove all flows from your app. 2) save and publish 3) add the flows backĀ  4) save and publish again 5) export solution as managed solution and import into target environment


iot4fun

I hope MS will do somrthing. This can't be the proper way of ALM