cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NewcombR
Advocate IV
Advocate IV

Canvas App Solution Fails

Hello,

I’m hoping someone can assist. I am working on an canvas app, and have applied it to a TEST environment using managed solution. It imported fine.

After some feedback, I developed some changes and exported the managed solution and attempted to import it to the TEST environment using the Upgrade method. (Something I’m accustomed to with model driven apps and D365).

However, the import fails and no helpful error is given. I can see the solution was imported but it hasn’t been upgraded. When attempting to upgrade solution, it also fails with no real helpful error.

Moreover, I cannot manually import the canvas app using the old method (without solution) because I can’t publish the app in the test environment because it originated as a managed solution.

I also cannot delete the managed solutions in the target environment —- getting errors.

The canvas app is the only thing in the solution.

What gives?
2 REPLIES 2
v-xida-msft
Community Support
Community Support

Hi @NewcombR ,

Could you please share a bit more about the error when you ugrade?

Do you mean that canvas app in your managed solution set as a managed component?

 

Currently, if you import an managed solution into a target Environment, you could not edit the components within this managed solution.

Please refer to the following article for more details:

https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/introduction-solutions#mana...

 

As an fixed solution, please consider remove/uninstall the managed solution from your Test Environment, and then import the updated managed solution into your Test Environment again.

 

If your solution is still under development, I think you should import your solution as a unmanaged solution rather than managed solution. Then you could continue to add and remove components to this Solution within your Test Environment.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I am talking about this:

I have a DEV environment.
I have a TEST environment.

The only development occurs in DEV within the context of a solution.

I export the solution from DEV as a MANAGED solution, and import the MANAGED solution to TEST.

This only works on the first import in TEST.

If I made changes in DEV and export the solution as managed and import to TEST to upgrade (so the users can test the changes), PowerApps states test the import failed.

There is only one (1) thing in the solution, the canvas app.

However, even though PowerApps says the solution failed, I can see the solution upgrade in the solutions grid in TEST. However, I cannot upgrade the solution due to error. I also cannot to delete the upgrade solution because I get another error.

So, it’s stuck in the TEST environment with no way to upgrade and no way to delete.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (3,099)