web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / unable to publish the ...
Power Apps
Unanswered

unable to publish the canvas app

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I have Original Canvas App created outside the solution. As it is not allowing me to add to solution I have followed the below approach.

 

Created temp canvas app within solution - exported the original solution and imported again into same environment to update the temp canvas app. Import and update was success.

 

I tried to save and publish the temp app but encountered with below error

The request failed with error: '{"error":{"code":"0x8004f036","message":"The dependent component Entity (Id={EntityLogicalName}) does not exist. Failure trying to associate it with CanvasApp (Id=65bd9e0c-2e78-4a08-b318-6b964d0fc47c) as a dependency. Missing dependency lookup type = EntityNameLookup."}}'. The tracking Id is 'b05762f9-fef6-46b6-8f5c-efe8dd12631f'.

 

I was exploring ways to remove the entity but i didnt find in current environment CDS entities. 

Updated the {GuidId}.JSON file in exported zip file and tried to reimport again to another temp canvas app. But this time import failed.

 

Can you please help me out here

Categories:
  • Christopher S Profile Picture
    Microsoft Employee on at

    Hi @VijayReddy 

     

    Did you create that entity previously? It seems like the application still contains a reference. Have you checked and tried to refresh the datasources on the app?

     

    Best Regards

  • VijayReddy Profile Picture
    Microsoft Employee on at

    Hi @chsanche , yes it was super old deleted custom entity. I refreshed data source many times but still issue persists. I could see the entity name in exported package Jason file

  • JohnShine52 Profile Picture
    2 on at

    Did you resolve this and how please

  • JohnShine Profile Picture
    6 on at

    This is the fix 

    modified customization object from <DatabaseReferences>{"default.cds":{"databaseDetails":{"referenceType":"Environmental","environmentName":"default.cds"},"dataSources":{"Vendor bank accounts (mserp)":{"entitySetName":"mserp_vendvendorbankaccountentities","logicalName":"mserp_vendvendorbankaccountentity"},"OptionSets":{"entitySetName":"optionsets","logicalName":"optionset"},"Rsf Bank Account error messages (mserp)":{"entitySetName":"mserp_rsfbankaccounterrormsgsentities","logicalName":"mserp_rsfbankaccounterrormsgsentity"},"Vendor bank accounts Rfs (mserp)":{"entitySetName":"mserp_vendvendorbankaccount_rsfentities","logicalName":"mserp_vendvendorbankaccount_rsfentity"}}}}</DatabaseReferences> and changed to
    <DatabaseReferences xsi:nil="true"></DatabaseReferences>. I removed my CDS references 3 months ago but hang around in the solution
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard