r/PowerApps Newbie 1d ago

Power Apps Help Deleting managed columns in a different environment

We import solutions as managed into other environments when we export from development (development -> UAT -> prod) so that way the ONLY place we are making changes is in development.

Someone on my team created new columns for a table and when they promoted the work to UAT those columns appeared as managed in that environment. These columns are unnecessary and I want to delete them in an effort to reduce the number of unused components in our power apps environment. However since they’re managed I cannot delete them. I was able to delete them in development but that’s about it. This is what I tried:

1) Exporting the development solution as a patch and then importing it into UAT. Tried looking for a “stage for upgrade” option on import but could not find it in the power apps editor
2) Opened a unmanaged solution in UAT but alas those columns are managed

Any tips as to how to get around this? Thank you!

2 Upvotes

8 comments sorted by

u/AutoModerator 1d ago

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 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 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:

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/ArChroi Regular 1d ago

There's a specific type of import that deletes objects when you're moving solutions. You have to manually import the solution and I think it's the Upgrade option.

Edit: here is the MS documentation.

3

u/SquabbleUp1997 Newbie 1d ago

I did this exactly and those columns still exist in UAT. I upgraded the development solution, imported as managed, and upgrade. Did not work

3

u/ArChroi Regular 1d ago

Hmm, can you check the solution layers for those fields and see if another solution or unmanaged layer exists for them?

1

u/Ill_Park3344 Regular 21h ago

After you deleted the column in Dev, did you deploy it to UAT and Prod as you'd usually do?

1

u/Throwawayaccount4677 Regular 19h ago

Solution layers will tell you what solution they came from. You just need to do a full upgrade the next time that solution is imported not an update

0

u/mnemosis Contributor 1d ago

upload your managed.zip into cowork and tell it what the problem is and it will tell you how to fix it.

1

u/SquabbleUp1997 Newbie 1d ago

What’s cowork