Hi Team,
I am facing issues while importing a solution and opening a Canvas app in Power Apps, and I need your support.
Initially, I tried importing a solution ZIP file, but I received the error:
“Object reference not set to an instance of an object”
(Error Code: 559e7c8b-8be1-4b03-a31a-5c4b6a7cb7ab)
I identified that the solution contained flows without proper connection references. So, I removed the Workflows folder and re-zipped the solution. After fixing the ZIP structure, I attempted the import again, but the same error persisted.
As an alternative, I extracted the Canvas app (.msapp) from the solution and tried importing it directly via Power Apps. However, I received another error:
“Error opening file – There was an error opening the file.”
This suggests that the .msapp file might be corrupted or not fully compatible.
This solution was generated using a migration/AI tool (Pega to Power Platform), so I suspect there may be compatibility issues with the generated package.
Could you please help me understand:
-
Why this error is occurring even after removing flows and fixing the ZIP structure?
-
Is there a way to repair or validate the .msapp file?
-
What is the recommended approach to successfully import or recover this app?
I have attached screenshots of the errors for reference.
Thanks in advance for your help!