I had a canvas power app that connected to a CDS data source.
Because of licensing issues, I rewrote the app to use SharePoint lists. I deleted any fo the old flows I had used and wrote brand new ones.
In the app, I deleted all references to the CDS connectors.
Then I spun up a brand new CDS instance, imported the solution into it, rejigged all the Sharepoint connectors and the flows, saved. Then I hit Publish and... it says it cannot publish as the CDS (custom) entity is not in the environment.
Now there is no reference anywhere in this new instance to the CDS connector so I cannot delete it. I assume there must be some link in the app buried deep down I cannot access that thinks it is still connected to CDS.
Now interestingly, when I went to share with everyone it failed as it then showed CDS cannot be shared with Everyone. So at last I see a reference to it, but no way to remove it.
Is this a Microsoft support call issue? I am not sure I have the time so I many have to manually rebuild the app ...
Did you publish the original app after removing the CDS connections and before importing the solution to the new environment?
Just saving the app is not enough since the solution has a reference to the last published app.
@Kunal, I am currently on version 80 odd of this app, and I removed this CDS connector a long time ago and have done multiple pubishes since.
I have actually found it is suprisingly easy to rebuild an app from scratch. I have maybe 8 screens in this app, and a CTRL-A and copy and paste into a new app takes only 5 minutes, (Plus the time to add connectors and flows) so I will just go that route as I need to launch this app tomorrow.
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Your chance to join an engaging competition of Power Platform enthusiasts.