cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shaikha92
Helper I
Helper I

The solution canvas app 'APPName' was not found in instance 'https://orgf0c3a556.crm4.dynamics.com/'

Cannot publish my canvas app, getting this error message 

 

The solution canvas app 'APPName' was not found in instance 'https://orgf0c3a556.crm4.dynamics.com/'

 

Any idea how to fix this or why I'm getting this error?

10 REPLIES 10
Bilakanti
Responsive Resident
Responsive Resident

@shaikha92 , Is your canvas app present within the solution and are you publishing the solution?

 

Did you see your canvas app listed when you executed the below command?

Get-AdminDeletedPowerAppsList -EnvironmentName 'EnvironmentName'

@Bilakanti It was part of a solution but got deleted by accident and I restored it using Powershell. After restoration, I have tried to add it again to the solution but it was not possible. I couldn't find the app listed to add it. 

Bilakanti
Responsive Resident
Responsive Resident

@shaikha92 , can you see the restored app in the Apps Tab? 

@Bilakanti At first I was not able to see it in the apps tab but the users were sending "Request Access" through email and from the link in the email I was able to share the app and then see it. However, as the app owner, I still cannot modify it so I shared it with another user and this user couldn't publish it because of the error above.

Bilakanti
Responsive Resident
Responsive Resident

@shaikha92 , The another user is the owner of the app now or you just shared him with co-owner rights?

 

@Bilakanti the other user is not the admin and I shared with him the co-owner rights only. 

Bilakanti
Responsive Resident
Responsive Resident

@shaikha92  can you ask the co-owner of the app to change the ownership to him and make you as user of the app using the below command.

Set-AdminPowerAppOwner (Microsoft.PowerApps.Administration.PowerShell) | Microsoft Docs

 

Set-AppOwner -AppName "[Guid]" -EnvironmentName "Default-[Guid]" -AppOwner "[Guid]"

 

 

@Bilakanti I have tried to set the owner of the app to the original owner again, it was successful to run the PowerShell script but same error occurs when publishing the app.

Bilakanti
Responsive Resident
Responsive Resident

@shaikha92  I would suggest you to do "Sava As" of the Existing app and try to publish the newly saved app.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,420)